If your Pixel 4 XL has become unresponsive, the first thing you can do is to try a force restart. Doing so does not reset the phone to factory defaults, and will not delete user data.
Press and hold the power button until the phone turns off and restarts.
Embed this guide
Choose a size and copy the code below to embed this guide as a small widget on your site / forum.