I think you're relating night time to panic time. I do this as well after having a bad panic attack one night in bed. It does get easier with time. Try to distract yourself in bed. I read, watch tv, have hot milk, etc..
"Life is too important to take seriously" Corky Siegal