; (2) less restrictive interventions would be ineffective in stopping such imminent danger of physical injury; and (3) the reasonable restraint ends immediately upon the cessation of the conditions described in paragraphs (1) and (2). (d) Definitions For purposes of this section— (1) the term corporal punishment has the meaning given such term in section 12 of the Ending Corporal Punishment in Schools Act of 2017; (2) the term educational agency or institution means any public or private agency or institution which is the recipient, or serves students who are recipients of, funds under any applicable program; (3) the terms local educational agency and State educational agency have the meanings given such terms in section 8101 of the Elementary and Secondary Education Act of 1965; (4) the term school personnel has the meaning given such term in section 12 of the Ending Corporal Punishment in Schools Act of 2017; and (5) the term student includes any person who is in attendance at an educational agency or institution. . 5. State plan and enforcement (a) State plan Not later than 18 months after the date of enactment of this Act and every third year thereafter, each State educational agency shall submit to the Secretary a State plan that provides— (1) assurances to the Secretary that the State has in effect policies and procedures that eliminate the use of corporal punishment in schools; (2) a description of the State’s policies and procedures; and (3) a description of the State plans to ensure school personnel and parents, including private school personnel and parents, are aware of the State’s policies and procedures. (b) Enforcement (1) In general (A) Use of remedies If a State educational agency fails to comply with subsection (a), the Secretary shall— (i) withhold, in whole or in part, further payments under an applicable program (as such term is defined in section 400(c) of the General Education Provisions Act ( 20 U.S.C. 1221 )) in accordance with section 455 of such Act ( 20 U.S.C. 1234d )