For Raspberry pi shutdown
Go to Terminal and write the command
sudo shutdown -h now
Press Enter
Now your raspberry pi will shutdown
If you want to restart your Raspberry pi
write the command
sudo shutdown -r now
press Enter
Now your raspberry pi will be restart
You can also restart or shut down by using Raspberry Pi graphical Inter-phase
Thank You
