You can't turn off your computer. To fix this:
To prevent your computer from turning itself off, turn off sleep and hibernate.
NoteIf you're using a mobile PC that is running on battery power, preventing the mobile PC from turning itself off can result in loss of data if the battery runs out of power.
To prevent your computer from turning itself off
1. Open Power Options by clicking the Start button , clicking Control Panel, clicking System and Maintenance, and then clicking Power Options.
2. On the Select a power plan page, click Change plan settings under the selected plan.
3. On the Change settings for the plan page, click Change advanced power settings.
4. On the Advanced settings tab, expand Sleep, expand Sleep after, click On battery or Plugged in (or both), click the arrow, and then click Never.
5. Expand Hibernate after, click On battery or Plugged in (or both), click the arrow, and then click Never.
If you also want the display to stay turned on, expand Display, expand Turn off display after, click On battery or Plugged in (or both), click the arrow, and then click Never.
6. Click OK, and then click Save changes.