Open your terminal with CTRL + ALT + T and do these following commands. To shutdown the system: sudo shutdown -h now. To restart: sudo reboot.
askubuntu.com