It might be called Somniphobia which is the fear of falling asleep. It says that you might have Somniphobia if you fear that you lose time while you are asleep. It can be caused by nightmares, anxiety, or just not sleeping well. I really hope this is what you were looking for.