What is to punish by requiring to be within the gates at an earlier hour than usual called?

gate — (Eng. Univ.) To punish by requiring to be within the gates at an earlier hour than usual. (Webster's 1913.)

Sources