Force-restarting your Mac is a quick solution for frozen screens ... Press and hold down the Command and Control keys with the power button simultaneously. On a MacBook, the power button is ...
In the restart process, a Mac closes all programs ... Select "Restart" in the popup window. If your computer is not responding to any of these restart methods, then you need to fully shut it ...
there's an even easier way to restart your computer using just the keyboard. Simply press and hold Control + Command + Power/Eject/Touch ID button on your keyboard until your Mac restarts.