If you cancel your plan, it will remain active until the end of your billing cycle, making sure that you retain full access to the plan you've paid for for the entire billing cycle.
If you cancel your plan while on a paid plan, you will automatically be moved to a "Trial" state when your plan expires, unless otherwise agreed.