The Secretary concerned may terminate the regular appointment of any permanent regular warrant officer at any time within three years after the date when the officer accepted his original permanent appointment as a warrant officer in that component. A warrant officer who is separated under this section is entitled, if eligible therefor, to separation pay under section
1174 or he may be enlisted under section
515 of this title. If such a warrant officer is enlisted under section
515 of this title, he is not entitled to separation pay.