Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
When you close a Microsoft account, even one that uses a third-party e-mail for a user name, you must cancel any subscriptions associated with the account first. Instructions are in the article at https://support.microsoft.com/en-us/accounts-billing/manage/how-to-close-your-microsoft-account . Fortunately, there is a "waiting period," so that you can reopen your account.
To recover your subscription, you will have to reopen your account. See https://support.microsoft.com/en-us/accounts-billing/manage/reopen-your-microsoft-account.
I interpret your question to mean that you have also closed your original Gmail account via the Google site. However, you may still be able to recover the associated Microsoft account. From Microsoft's perspective, an e-mail address ending with @gmail.com is just an alias for an underlying Microsoft account.