Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Log into your Microsoft account on this link, check the expiry date on your Microsoft 365 subscription, does that indicate you now have 2 years on your subscription?
https://account.microsoft.com/services/
The steps to cancel a Microsoft 365 subscription are provided on this link.
You should then be entitled to a pro-rata refund, you can check your eligibility to a refund using the steps on this link.