An officer who is absent from an office or position while in military service shall not be entitled to any compensation as such officer during such absence. If the officer returns before the expiration of the period of the temporary vacancy created by the officer's absence, such officer shall be entitled to immediate possession of such office or position and, upon reassuming the duties of the office, to receive the compensation for the remainder of the term to which the holder thereof is entitled, subject to removal from office according to law.
K.S.A. 73-218