I had something similar happen whilst installing DOS6.
In that case though it was the on/off rocker switch on the PC chassis that had chosen THAT EXACT moment to weld it's contacts shut (it was switching the PC itself and an EGA CRT monitor on the auxiliary mains output from the chassis. I guess it didn't like the monitors degaussing coil.