Yes, but it is a separate request. Cancelling your contract does not port your number.
Porting is arranged through your new provider, not your old one, and it still works for a period after the contract ends.
That window is provider-specific — some allow 30 days, others considerably longer.
Decide before you cancel.
If you want the number, start the porting request with the new provider and expect a fee.
Yes, but it is a separate request. Cancelling your contract does not port your number.