A member of the program who is selected for advanced training under section
2104 of this title, and who does not complete the course of instruction, or who completes the course but declines to accept a commission when offered, may be ordered to active duty by the Secretary of the military department concerned to serve in his enlisted grade or rating for such period of time as the Secretary prescribes but not for more than two years. If the member does not complete the period of active duty prescribed by the Secretary concerned, the member shall be subject to the repayment provisions of section
303a
(e) of title
37.