sometimes a good thing to do is just to close your eyes and decide to go to sleep again. I once spent a few minutes in a dream being in the kitchen and nothing happened, so I just lay down on the floor and fell asleep ... much smoother than waking up