...hmmmmm, guessing it was probably doing what it was supposed to do:
...the way I understand it, on signal loss from the remote controller or pressing the RTH button, the "return to home" function kicks in after three seconds and depending on how you have set up the parameters, will either (1) hover in place, (2) land immediately or (3) attempt to return to home - if you have it set to return to home, the additional "smart return to home" function will have the craft first ascend to the altitude entered in the parameters (you can set this parameter to any altitude you feel will clear the highest obstacles in the area), then, once the safe altitude has been reached (to avoid colliding with trees, buildings, power lines, etc. on the trip home) then and only then will it attempt to fly laterally to the set home point (...always ensure your home point is properly set immediately after launching - if you have audio prompts enabled, the app tells you "home point has been set" as soon as it is safely locked in the bird's memory) - also look up "canceling return to home function" as this is an invaluable skill to know if you are at critical battery levels and CAN'T afford to have the bird take three minutes to rise up to 400' and then come back down (...though there is so much failsafe tech in this thing, it PROBABLY would know when it has to start landing and would probably skip the ascent/descent portion of returning home to avoid sudden power loss and subsequent tumbling-from-sky action...these things are definitely getting safer and safer!)
...blue skies and safe flying!
z
ps - oh yeah; best advice for new (and old) pilots: DEVOUR THESE FORUMS!!! ABSOLUTE GOLD MINE/TREASURE TROVE OF INFORMATION, TUTORIALS, TIPS, TRICKS, ETC. FROM WICKED SMART AND HELPFUL UAS ACES!