During this time, the person who has been gated will be given some work to do, usually a mixture of academic and manual tasks. Manual tasks might be useful (for example, removing litter or repairing vandalism) or they might be deliberately futile or pointless (collecting stones from a field, folding underwear in the laundry when such garments are not usually returned folded). The amount of work ordered would depend on the severity of the offence, and in any case some free time would normally be allowed.
Although a gating would usually take place at the end of the week in which the offense was committed, at the discretion of the awarding teacher and the pupil's housemaster or -mistress it can sometimes be moved if the pupil would otherwise miss some important event, rendering the punishment more severe than is appropriate. This is not a right, however, and cannot be relied upon.
In theory, day pupils as well as boarders can be gated since their house will be able to arrange accommodation for the weekend. Day pupils are typically less likely to be awarded a gating, however, though it's unclear whether this is due to teachers' reluctance to make somebody stay in school who does not normally do so (and attendant organisational issues) or because the types of offences for which gatings are awarded tend to occur outside normal school hours when day pupils are less likely to be present.
Parents are expected to endorse the school's decisions in this matter, particularly since it is a punishment used (probably exclusively) in independent schools which the parents will have deliberately selected to educate their children. In the past, this was simply an understanding assumed between school and parent, but in recent years the possibility of out-of-hours punishments is normally written into the contract signed when a pupil starts at the school.