Escape Conditioning
Escape conditioning is a concept in Behaviorism and is a type of <"https://www.alleydog.com/glossary/definition.php?term=Avoidance+Conditioning">avoidance conditioning which is the usage of an unpleasant stimulus in order to decrease an unwanted behavior. So to be escape conditioning an unpleasant stimulus is presented and the organism's response is to leave in order to avoid experiencing the unpleasant stimulus.
For example, if you squirt a cat with a water bottle typically it will respond by running out of the room. This is escape conditioning.