try to disable the "Automatic Restart when BSOD" function; maybe you get an BSOD while shut down, so your PC restarts as result;
right click on "My Computer" > Properties > Details > Start & Restore > System Error > disable "Automatic Restart"
sorry when the terms are not 100% right, i don't use an english Win version;
Greetings from
Duracell