How do I remove a distribution from WSL?

Step 1

wsl -l

2023-10-19--16-25-11

Step 2

wsl --unregister Ubuntu-18.04

2023-10-19--16-26-49

Step 3

wsl -l

2023-10-19--16-27-36

learn.microsoft.com/en-us/windows/wsl/faq#how-do-i-uninstall-a-wsl-distribution-