From Litchi:
3. How to regain control of my aircraft during an autonomous flight?
Flip the remote controller mode switch into the P position (or S for Phantom 4). The aircraft will then stop the autonomous flight and you will regain control instantly.