From a TV commercial for prescription sleeping pills:
“Walking, eating, driving or engaging in other activities while asleep without remembering it the next day have been reported. Abnormal behaviors may include aggressiveness, confusion, agitation or hallucinations. The temporary inability to move while falling asleep or waking up has also been reported. . . .”
Knowing the side effects may cause sleeplessness.