#Matlab, 21 Bytes
Matlab, 21 Bytes
system('shutdown -s') I haven't tried this (closing all programs to do a restart in the middle of the day isn't really tempting), but it should work.. This works...
I'll add a short explanation later, my laptop is currently off.