Sign in to your Microsoft account at https://account.microsoft.com/services
Select Subscriptions
Find Xbox Game Pass
Select Manage
Choose Cancel
Follow the prompts to confirm cancellation
Verify the status shows as canceled and note the end date for your current billing period
