If your keyboard stops working, you may still be able to turn off your computer using one of the other methods we've discussed, such as Windows PowerShell or the Command Prompt. If none of these options work, you may need to hold down the power button to force a shutdown.