Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
You will have to try and recover the closed account, so that you can access its billing info and cancel the associated subscription. See https://support.microsoft.com/en-us/accounts-billing/manage/help-with-the-microsoft-account-recovery-form.