A samurai would have worn it from the time he awoke to the time he went to sleep , and slept with it under his pillow .

The wakizashi followed his master even when he went to sleep , because it was always near the bed .
