If you resign and continue to pay urban medical insurance, you can be reimbursed within the insurance period.
There is no need to make up the previous payment, because during that period you paid the medical insurance for employees, both of which belong to medical insurance. Your medical insurance did not stop the medical insurance for employees. If the accumulated number of years of medical insurance for employees has reached the limit specified by the local social security bureau, you can continue to enjoy medical insurance reimbursement treatment without paying fees after retirement.
[Legal Basis]
According to Article 26 of the Social Insurance Law, the treatment standards of basic medical insurance for employees, new rural cooperative medical insurance and basic medical insurance for urban residents shall be implemented in accordance with the national regulations.