Yes, you can cancel your subscription at any time.

Since subscriptions are paid in advance, the remainder of any time on your already paid subscription will still be active until the end of the term.