I am an idiot.
I wanted to delete all my ubuntu related files from the ubuntu subsystem within windows. So I just sudo rm -rf /* in the ubuntu home directory. I did sudo because earlier there were a lot of permission denied. Now when there were less permission denied, I started getting all sorts of other errors from windows and then I realized it was also deleting files outside of ubuntu. Now everything is working weird even in windows. I just canceled the command with ctrl+C as soon as I realized but too much has been damaged. Any way to fix this? Any way to reverse the last command?Please help!