Do I get a refund if I retire, cease legal practice or become an employee at some stage during the insurance year?

Yes.  A pro-rata refund is applicable so long as you vary or surrender your practising certificate accordingly.