You searched for: “clinophobia
clinophobia (s) (noun), clinophobias (pl)
An abnormal fear or strong dislike of going to bed or of beds in general: Those who have clinophobias may have chronic insomnia, night terrors, sleepwalking experiences, or fear of bedwetting.

There are even people who have clinophobias that associate beds with the fear that they may fall asleep and never wake up.