Hypnopompia

Hypnopompia [hypnopompic] (from Greek: ὕπνος, húpnos, "sleep" + πομπέ, pompé, "conduct[or], guide"; "guide from sleep") is the state of consciousness that exists between sleep and wakefulness (as in a person awakening from sleep), as opposed to hypnagogia, the state between wakefulness and sleep (as in a person falling asleep).