WSL uses virtual hard disk (VHDX) files to store Linux data. Sometimes, these files linger even after uninstallation. Additionally, if you want to wipe all traces of your Linux sessions, you should delete the associated folders.
Here is a step-by-step guide on how to completely remove WSL from Windows 11. remove wsl from windows 11
Windows Subsystem for Linux (WSL) is a powerful tool for developers, allowing them to run a Linux environment directly on Windows. However, there may come a time when you need to remove it. Perhaps you are troubleshooting a corrupted installation, freeing up disk space, or simply no longer need a Linux environment on your PC. WSL uses virtual hard disk (VHDX) files to store Linux data
To verify that WSL has been completely removed: freeing up disk space