1. Loss of back pay and allowances by certain members of the Armed Forces guilty of desertion (a) In general Section 885 of title 10, United States Code (article 85 of the Uniform Code of Military Justice), is amended by adding at the end the following new subsection: (d) (1) In addition to the punishments authorized under subsection (c), any person who is guilty of desertion, and who in connection with the person’s absence without authority was also listed in the duty status of missing-captive, is not entitled to any pay and allowances otherwise payable under subsection (a) of section 552 of title 37 for any period during which the person was listed in any missing status, including such missing-captive, after the date on which the person was first determined to be absent from the person’s post of duty without authority. As provided in subsection (c) of such section 552, the person is indebted to the United States for payments from amounts credited to the person’s account for that period. (2) The Secretary of Defense shall use amounts unpaid or recovered by reason of operation of paragraph (1) to provide compensation, in such amounts as the Secretary considers appropriate, to— (A) any members of the armed forces who were wounded while searching for the person guilty of desertion; and (B) the designated representatives of any members of the armed forces who were killed while searching for the person. . (b) Effective period of amendment Subsection (d) of section 885 of title 10, United States Code (article 85 of the Uniform Code of Military Justice), as added by subsection (a), shall apply only with respect to a member of the Armed Forces who, during the one-year period beginning on October 1, 2017, is guilty of desertion as described in such subsection (d).