how to restart ubuntu on wsl2 code example Example 1: restart wsl2 wsl --shutdown wsl Example 2: wsl 2 reboot ubuntu Get-Service LxssManager | Restart-Service