When your dog is sleepy, cover his body and head with a big blanket. Wake him up, and watch him try to find his way out. Bobo, our labradoodle, did this last night. I wish I'd gotten it on video.
Obviously, help him out before he gets too upset or hurts himself.