Sleep apnea is when you're stopping breathing. Usually obstructive.
Before you wake up your heart rate dramatically increases and adrenaline floods.
Sometimes you have nightmares.
Consequently by awakening you can feel deathly ill,
Also have you considered serotonin.