Delhi relic bug

I garrisoned my scholar that had a relic instead of right clicking the mosque (so I pressed F and clicked the mosque while holding a relic) and the relic disappeared… I haven’t played much Delhi and it was the first time I made this action. Not sure if other people also had this problem?