; and (II) shall resume on the date on which the alien is returned to the custody of the Secretary. . (C) Suspension of period Section 241(a)(1)(C) of such Act ( 8 U.S.C. 1231(a)(1)(C) ) is amended to read as follows: (C) Suspension of period The removal period shall be extended beyond a period of 90 days and the alien may remain in detention during such extended period if the alien— (i) fails or refuses to make all reasonable efforts to comply with the order of removal or to fully cooperate with the efforts of the Secretary to establish the alien’s identity and carry out the order of removal, including making timely application in good faith for travel or other documents necessary to the alien’s departure; or (ii) conspires or acts to prevent the alien’s removal subject to an order of removal. . (2) Detention Section 241(a)(2) of the Immigration and Nationality Act ( 8 U.S.C. 1231(a)(2) ) is amended— (A) by inserting (A) before During ; (B) by striking Attorney General and inserting Secretary ; and (C) by adding at the end the following: (B) During a pendency of a stay If a court, the Board of Immigration Appeals, or an immigration judge orders a stay of removal of an alien who is subject to an order of removal, the Secretary, in the Secretary’s sole and unreviewable exercise of discretion, and notwithstanding any provision of law, including section 2241 of title 28, United States Code, may detain the alien during the pendency of such stay of removal. . (3) Suspension after 90-day period Section 241(a)(3) of the Immigration and Nationality Act ( 8 U.S.C. 1231(a)(3) ) is amended— (A) in the matter preceding subparagraph (A), by striking Attorney General and inserting Secretary ; (B) in subparagraph (C), by striking Attorney General and inserting Secretary