Hi Dan,
You may try the workaround below that may help with signing in the correct Microsoft account:
Temporarily switch to a local account.
In Windows settings, navigate to Accounts → Your info → Sign in with a local account. Create a local profile to continue using your PC. Once signed in locally, switch back by signing in with your correct Microsoft account through Accounts → Your info → Sign in with a Microsoft account. This approach allows you to regain access to your previous account without losing your files or settings.