How to Restore an iMac Pro

Apple Support:

In certain circumstances, such as a power failure during a macOS upgrade, an iMac Pro may become unresponsive and must be restored. The requirements for doing an iMac Pro restore are […]

You will need to have another Mac on hand to perform the restore.