If you are formatting the drive, one can assume that there is not data on it that you want/need recovered. You will likely need to restart the format command and consider using a UPS to prevent the system going offline, should the power fail again.
There are cases where a hard drive's heads may get stuck to the platters or firmware issues come as a result of a power failure. But, most of the time, you should be just fine to restart the format and carry on.