A deserter shall not be restored to duty without trial except by the Governor or by an officer authorized to appoint a general court-martial. Restoration to duty without trial shall not remove the charge of desertion or relieve the enlisted man or woman from any of the forfeitures attached to that offense. Setting aside a charge of desertion as having been erroneously made shall remove the charge of desertion and all stoppages and forfeitures arising therefrom.