I come from Fedora 16-20 and definitely freshman in using Ubuntu, I was used in Gnome3 to turn off my computer by typing ALT+F2, then typing "poweroff" and return.
In Unity "ALT+F2" actually open the "quick terminal" but "poweroff" command is not working, as well as any other poweruser command (launching applications seems fine), even if provided with sudo command (it is not asking any password).
From the shell it is working fine ("sudo poweroff" and inserting the password).
I've read that it is possible to define a shortcut for this, but I'm not interested in (in that case I can simply use the GUI), I only want to know if it is possible to use poweroff from the "quick terminal" (ALT+F2), or if it is not available for some reason (and possibly I would undestand why).