切换默认用户为 root

C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps\ubuntu2204.exe config --default-user root

关闭 wsl

wsl --shutdown