It's the fear of falling asleep and not waking up. Fear of dying asleep.
SOMNIPHOBIA Hatred or repulsion to fall asleep, for fear of not waking up anymore because you have passed away, or another similar fear.