This immediately terminates all running distributions1.
wsl --shutdown
Just exiting all wsl sessions is not enough. Notice how Vmmem still takes up resources in Task Manager.
https://learn.microsoft.com/en-us/windows/wsl/basic-commands#shutdown ↩