This article explains how to turn off automatic renewal for Game Pass subscriptions on an Xbox Series X or S console or a computer.
Xbox (Series X, S, One) How to turn off recurring billing for Game Pass or Xbox Live Gold
If you want to turn off auto-renewal for your Xbox Game Pass subscription (or any other Xbox Series X or S service), you’ll need to do so through Microsoft’s website. You can also do this directly on your Xbox Series X or S.
When you navigate to the subscription settings on your Xbox Series X or S, the console will automatically open the Microsoft website in a web browser where you're already signed in with your account.
Here's how to turn off automatic renewal on your Xbox Series X or S: