A person enlisted under section 518 of this title may be discharged at any time by the President, or otherwise according to law.