The first is to go with the mouse to right top or right bottom of the screen and select Settings
And select Power and after that Shutdown or Restart.
This works in desktop mode as shown and in metro mode. You press the windows-key to switch to metro mode.
Another way is press Alt-F4 in the desktop mode which still works: