An electrical control system should not stop supplying power at any time; otherwise, the energy consumed or distributed cannot be controlled. This is why protection systems such as the following must be in place:
Automatic transfer
Uninterruptible power supply (UPS)
Generator set