Hi there!
To cancel your Moz Pro subscription, you can head on over to the account and billing section of your Moz Pro account by clicking here: https://moz.com/subscriptions
From there, you can click the "Cancel Moz Pro" option next to your current subscription- you'll still be able to access your account until the end of your billing cycle but after that, your access will end and we won't charge your card.
I hope this helps! If you have any other questions or need further help, feel free to drop us a line at help@moz.com! 
You can also read more about how to cancel your account on our Help Hub :]
Thanks so much for trying out Moz Pro and we hope to see you back some day!! 