Do I get a refund if I retire at some stage during the insurance year?

Yes.  A refund is applicable so long as you are retiring from private practice and do not maintain your practising certificate.