Each person who has served the prescribed period of enlistment in the armed forces of the state shall, after the expiration of such period of enlistment, be thereby entitled to an honorable discharge, but this section shall not apply to any person against whom military charges are pending, or to any person who has been dropped for desertion, absence without leave or other unauthorized absence, until such person has made good the time lost during such period as such person may have been so dropped. No person shall be dishonorably discharged from the armed forces of the state except upon the sentence of a general court-martial. No resignation, removal or discharge shall in any way affect the liability of such person for public property in such person’s possession or for which such person is responsible, or for fines or dues due the organization to which such person belongs, or for fines for nonperformance of military duty legally imposed.