Do you read a book from the computer or you watch a movie , and then you sleep and leave the machine open
Use Program shutdownx , To shut-down your computer automatically after a certain time.
Shutdownx can auto Shutdown pc, Restart pc, Log Off
Shutdown computer automatically
Close computer automatically
Auto PC Shutdown
and auto Restart , log off