Elective or appointive officers or employees who desire to withdraw from such city pension or retirement plan or who leave the employment of the city at any time before their right to retirement under the provisions of this act shall, at the option of such officer or employee, be paid all sums deducted from their salary during the term of their employment with such city, without interest: Provided, however, That should any such elective or appointive officer or employee return to the service of such city he or she shall not be credited with the number of years served prior to so leaving the employment of such city unless such sum was not withdrawn upon leaving the employment of the city or if withdrawn shall be returned to such city: And provided further, That any such elective and appointive city officer and employee who has served the city for an aggregate of twenty (20) years or more, and who leaves the employment of such city at any time before retirement, may leave all sums deducted from his or her salary with such city and upon reaching the age of retirement as provided herein shall be entitled to the retirement benefits of this act.
K.S.A. 13-14,104