Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
The Steps to cancel a Microsoft 365 subscription are provided on this link also, while you are managing the subscription using these steps, ensure you disable the recurring billing on the subscription to avoid any further payments.
You may then be entitled to a refund, you can check your eligibility to a refund using the steps on this link.