This article explains how to cancel an Xbox Game Pass subscription through your Xbox console or the Microsoft website. It also explains how to turn off a subscription that is automatically renewing.
How to cancel your Xbox Game Pass Ultimate subscription and turn off recurring payments
This is the fastest way, assuming you have your Xbox handy.
From the Home screen, select Settings.
Select Subscriptions in the Account section.