http://benzosbbvk7gu6taxbjpcpsi3u3dgg3wb3ewwr4jx7tholioxmnwagyd.onion/DNBible/content/bible/operating-systems/whonix/starting_and_shutting_down/index.html
Shutting down Always close out Whonix in reverse order. That means, shutdown the Workstation first, then shutdown the Gateway. After the VirtualBox windows for both are closed, you can also close VirtualBox. To finish, shut down your host OS after that. If you are running terminal-based version of the Gateway for performance reasons, just enter the command sudo poweroff and press ENTER to shut the Gateway down.