Plan and billing · The plan

How do I cancel my subscription?

ComputerOpen Settings, then Plan & billing and cancel.
PhoneOpen Settings, then Plan & billing and Cancel subscription.

Cancelling ends the renewal; your data stays until you actually delete the account. If you want the data gone as well, that is Settings → Data & privacy on a computer, or Settings → Data & privacy on your phone — and export first.