A participant who during a period of war, or national emergency proclaimed by the President or declared by the Congress, leaves the Service to enter the military service is deemed, for the purpose of this part, as not separated from the Service unless the participant applies for and receives a lump-sum payment under section
4055 of this title. However, the participant is deemed to be separated from the Service after the expiration of 5 years of such military service.