You may cancel your subscription via "Billing" tab under Account settings:
With a paid subscription changes will take effect at the end of the current paid period, and your account will change to free AWT one.
Should you still encounter any issues with cancellation and would like us to assist you with cancellation or complete removing your account from Ahrefs, please send us your request to support@ahrefs.com from your email registered at Ahrefs or drop a note in a live chat.