Forgot user and password of UI

Did you follow the directions to have it autostart on bootup?

If you did, it’s pretty simple.

sudo systemctl stop home-assistant@YOUR_USER