Appearance
To power off the Raspberry pi, run
sudo poweroff
Alternatively you can shut it down from the GUI.
Let the device gracefully shut down. Wait until the green light stops blinking before pulling the plug.