; effect of inactivation (1) In general The period of inactivation from active duty under a program under this section of an officer participating in the program shall be such period as the Secretary shall specify in the agreement of the officer under subsection (c), except that such period may not exceed 3 years. (2) Exclusion from retirement Any period of participation of an officer in a program under this section shall not count toward eligibility for retirement or computation of retired pay under subtitle C. (c) Agreement Each officer who participates in a program under this section shall enter into a written agreement with the Secretary under which that officer shall agree as follows: (1) To undergo during the period of the inactivation of the officer from active duty under the program such inactive duty training as the Director of the National Oceanic and Atmospheric Administration Commissioned Officer Corps shall require in order to ensure that the officer retains proficiency, at a level determined by the Director to be sufficient, in the technical skills, professional qualifications, and physical readiness of the officer during the inactivation of the officer from active duty. (2) Following completion of the period of the inactivation of the officer from active duty under the program, to serve 2 months on active duty for each month of the period of the inactivation of the officer from active duty under the program. (d) Conditions of release The Secretary shall— (1) prescribe regulations specifying the guidelines regarding the conditions of release that must be considered and addressed in the agreement required by subsection (c)