Hello
Thank you for your question and reaching out.
Run with cmd administrator then type below command in each line then press Enter.
wsl --shutdown
wslconfig /unregister Ubuntu
wsl --install --distribution Ubuntu
Please Note: If you forgot the distro name, Please run 'wsl --list' from cmd line.
--If the reply is helpful, please Upvote and Accept as answer--