http://tortimeswqlzti2aqbjoieisne4ubyuoeiiugel2layyudcfrwln76qd.onion/bible/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.