turn of raspberry

Shell
# in raspberry shell type:
sudo shutdown now
Source

Also in Shell: