The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.
Starting with Windows 10 build 18836 version 1903, Microsoft added some new commands that will give you more functionality when using wsl.exe. The commands that existed inside of wslconfig.exe have been added to wsl.exe to allow you to configure your distros more easily.
–terminate or –t has been added to wsl.exe that will immediately terminate a running installed or imported WSL distro.
This tutorial will show you how to terminate a running Windows Subsystem for Linux (WSL) distro for your account in Windows 10.