wsl --version
wsl --update
wsl --terminate <Distribution Name>
實例=>
wsl --terminate Ubuntu-20.04
wsl --shutdown
wsl --export <Distribution Name> <FileName>
實例=>
wsl --export Ubuntu-20.04 E:\Ubuntu-20.04-20240319.tar
wsl --import <Distribution Name> <InstallLocation> <FileName>
實例=>
wsl --import Ubuntu-20.04 c:\Ubuntu-20.04-20240319.tar
Ref.
https://learn.microsoft.com/zh-tw/windows/wsl/basic-commands