The IMU gets its initial direction data from the compass as soon as the drone is powered on.
The compass etc is independent of GPS.
The post you are looking for isn't mine (but I quote it a lot)...
You lower the drone into your grip and hold it while holding the left stick down.
After approx 2 seconds with the stick down and the drone not able to descend, the motors shut down.