I was flying in an altitude zone (196ft) at the maximum altitude, within 100 meters. It was night time and I realized that I can't see the bird any more and started RTH. It showed RTH activity for few seconds on the app and to my surprise, went normal. I reinitiated RTH and same happened after a few seconds. Then I tried to locate the AC in sky and pull back in my direction till I was able to clearly see that. I reinitiated the RTH and this time it didn't abort and worked till the safe landing of AC. I am surprised why the RTH was simply aborted twice when I was needing it the most because after I traced my AC in the sky, it was simple to pull it back without the RTH.