How to turn off my htc one without using the touchscreen


AC Question

Last night the screen went out on my phone but the alarm still works on it. The screen won't work so I can't turn off the alarm or turn off the phone. Is there a way to turn off my phone or alarm by only using the physical buttons on the side of the phone?