If you have repayment insurance and you pay off the entire loan, your insurance will be interrupted. If you have paid your insurance for longer than your mortgage lasted, you will be refunded the difference.
Alternatively, you can transfer the insurance to a new beneficiary within seven business days.