; (4) in paragraph (3)— (A) by adding after If the alien does not leave or is not removed within the removal period the following: or is not detained pursuant to paragraph (6) of this subsection ; and (B) by striking subparagraph (D) and inserting the following: (D) to obey reasonable restrictions on the alien’s conduct or activities that the Secretary prescribes for the alien, in order to prevent the alien from absconding, for the protection of the community, or for other purposes related to the enforcement of the immigration laws. ; (5) in paragraph (4)(A), by striking paragraph (2) and inserting subparagraph (B)