Question: how to shut down xs max?
Answer: Press and hold the Side button and one of the volume buttons until the power off screen appears.
Drag the slider to the right to turn off your device.
Press and hold the Side button to power it back on and complete the restart.