Since Minecraft was purchased on the new Microsoft account, the practical fix is to sign the Minecraft Launcher out of the old account and then remove that old account from Windows if it is still cached on the PC.
- Close the sign-in window if it is asking to verify an email address that does not belong to the new account.
- Open Minecraft Launcher.
- In the launcher, open the account menu in the top-left corner.
- Select Log out.
- Select Microsoft Login and sign in with the new Microsoft account that was used to buy Minecraft.
- If the old account still appears, go to Windows Settings > Accounts > Email & accounts.
- If the old Microsoft account is listed there, remove it from the device.
- Reopen Minecraft Launcher and sign in again with the new account.
Removing the old account from Email & accounts only removes it from the Windows device cache. It does not recover, close, or delete the old Microsoft account.
If the old account was hacked, Microsoft’s recovery guidance is to first run a full antivirus scan on the PC before changing passwords or doing more account recovery steps.