Area it hangs:
Processing endpoint
Resetting endpoint module data
Backup & Restore process is in progress so not deleting '/tftpboot/*' from uninstall.
If in case Restore process not running then you may delete /var/run/asterisk/restore_running.lock file and try uninstall again
dropping endpoint tables...
done
Checking database tables...Done
Migrating tables as required...Done
Checking Settings and Defaults...Done
Generating Configs...Done
Downloading Firmware...Done (Background)
updating Logout phones config...(Background)Generating CSS...Done
Restoring from endpoint [FreePBX\modules\Endpoint\Restore]
Cleaning table: endpoint_global
Cleaning table: endpoint_xml
Cleaning table: endpoint_firmware
Cleaning table: endpoint_extensions
Cleaning table: endpoint_brand
Cleaning table: endpoint_basefiles