You can also use the poweroff command.