Shut down the MacBook
Press and hold the power button for 10 seconds
Release the power button
Wait a few seconds
Press the power button again to turn it on
If needed, reset NVRAM/PRAM by turning it on and immediately holding Option + Command + P + R for about 20 seconds
If needed, reset the SMC on Intel MacBooks using the appropriate key combination for your model
If needed, erase and reinstall macOS from Recovery Mode by turning it on and holding Command + R
