sounds like you have a hardware/BIOS issue... If the OS is sending a shut down/halt signal it should turn off and not restart.
Obvious things to try would be unplug remove any unneeded peripherals and do a BIOS update. If none of that works, try a Linux live cd... if it does that with linux as well you have a hardware issue that more then likely the motherboard IMO.





