I just laughed at myself there!, I was going to say by a Ups in case of a power cut. I stopped at that point right there and though hang on it will not help as the CNC machine wont work without power LOL.
I almost did the same thing!!
But, basically, any computer can be made to not shut off or power down. It is just a matter of the Windows/Bios settings as the previous poster said.