, , ,

A VirtualBox guest computer runs in a window. When you click [X] or click the Machine menu there is the option “ACPI Shutdown”.

Ubuntu Guests

To enable this on Ubuntu guests

$ sudo apt-get install acpid

from https://community.bitnami.com/t/mac-host-controlled-shutdown-of-vbox-rubystack-3-2-1/2904

Windows Guests

To enable this on Windows 10 guests

  • Control Panel > Power Options > Choose what the power buttons do> When I press the Power Button = Shutdown

from https://blogs.oracle.com/fatbloke/entry/acpi_shutdown_and_windows_7