Sometimes the iPhone just needs to be restarted out of recovery. Disconnect the USB cable. Force restart: Press and quickly release Volume Up, then Volume Down, then press and hold the Side button ...
Few things are more stressful than seeing your smartphone stuck on a boot loop, a black screen, or the dreaded "Connect to ...