Governor Gavin Newsom has signed California’s “click to cancel” Assembly Bill 286 into law to make it easier for consumers to opt out of subscriptions. The bill, introduced in April 2024, forces companies that permit online or in-app sign-ups to allow for online or in-app unsubscribing as well.
"AB 2863 is the most comprehensive ‘Click to Cancel’ legislation in the nation, ensuring Californians can cancel unwanted automatic subscription renewals just as easily as they signed up — with just a click or two,” said California Assemblymember Pilar Schiavo.
When you leave the state, you are no longer a consumer in CA, therefore they do not have to offer you the CA cancellation.
Also, I’m pretty sure this is a civil matter, not criminal.