If a member should cease to be a fireman or policeman, except by death or retirement as provided in this act, he shall be paid the amount of his aggregate contributions less any outstanding loan upon the filing of a written application as required by the retirement system. No member shall be entitled to withdraw the amounts contributed by his employer covering his military leave unless he shall have returned to the payroll and contributed to the retirement system for a period of 90 days.
If such person or any member shall die before withdrawing his aggregate contributions, such deductions shall be paid to the member's beneficiary.
N.J.S. § 43:16A-11