This is an example of positive punishment, which works by presenting a negative consequence after an unwanted behaviour.
9.5m questions
12.2m answers