I either go back to sleep (relatively easy because I'm still sleepy) or struggle until I wake (harder because struggling makes you panic more).
Once I managed to wiggle my pinky against my wife and she realized what was happening and woke me up fully.
Since then I’ve had decent luck forcing myself awake by using what little control I have to mess with my own breathing until I “wake up” but the whole process sucks, and usually makes me feel like I’m dying.