How To Remove Microsoft Account From Windows 11

I let it get to full by accident and it would no longer boot. To make a long story short I was able to mount drive 1 separately and free up space by deleting old log files. I also did the OS reinstall reset.