A "bad dream"-like state that occurs when you're not actually asleep yet, or when you've just awoken.
"Holy jumpin', I had a bad wakemare this morning. Tried to get out of bed, but couldn't shake terrible thoughts about tax bills and evil cucumbers".