Many factors may disrupt or interrupt the operation of your computer system: a fire, electrical fault or even industrial action.
Immediate isolation of the electrical fault likely would have reduced the speed with which the smoke or fire progressed.