Unplugged by accident or on purpose? Either way, not a good thing to do which is why you now have to restore the iPhone.
Restoring an iPhone completely erases the iPhone first followed by the current iOS version being installed. After the current iOS version is reinstalled, you are prompted to restore from the iPhone's backup, or as a new iPhone or not from the backup.
This is your only option.