You will only be eligible for a refund based on when you left the subscription. If you are found eligible, you will receive the refund before you complete the cancellation process.
You can also decide to finish out your current subscription but discontinue the auto-renewal.