Your old mobile plan is cancelled automatically once the PAC Code is used and once the phone number transfer is complete.
If you simply request a PAC Code but never actually use it, your old account will remain open, even after the PAC Code expires.