Sometimes, we can not shutdown our computer by shutdown button because of different kinds of reasons. At that time we should try to shutdown the computer by command prompt. Please follow the following steps to shutdown your windows computer by command prompt.
1. Press windows button and S key at the same time.
2. Type cmd in the search box.
3. Click "Run as Administrator" and Click "Yes".
4. Type shutdown -s -t 0 in the command prompt and press Enter.