With iOS 18 or higher, you can more quickly and easily kick off the shutdown or restart process via Control Center. Simply swipe down from the top-right corner of the screen until you see Control ...
Revive your unresponsive iPhone by forcing it to restart. Additionally, you can try charging the phone or reinstalling iOS.