Drone RTLs after reaching altitude

When I program my drone to go in a route it will go up to the altitude I said it at in mission start, but then it just rtl’s. No battery warning and usually the battery is not low. Funny idea how to fix this? All help appreciated

Edit: I just tried again. My drone appeared to be headed towards the 1st waypoint, then RTLed. It flew like crazy when RTLing and nearly crashed on my roof, which it had never done before. Wind was not very different today than when the issue happened.

You will need to provide a link to a .bin flight log when this occured.

Somehow it just fixed itself