Thanks for posting your question in the Microsoft Q&A forum.
In Microsoft 365 admin center, Locate the Teams subscription you want to cancel. On the subscription details page, in the Billing settings section, under Subscription status, select Cancel subscription.
- If you are within the grace period to cancel, select a reason for cancellation, provide optional feedback, then select Cancel subscription.
- If you are outside the grace period, you can only turn off recurring billing. In the "Canceling your subscription" pane, select "edit the recurring billing settings" and then turn off recurring billing.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful