A learning procedure where the organism learns to perform a response that terminates an ongoing aversive stimulus, strengthening behaviors that provide relief from unpleasant situations. This differs from avoidance conditioning, which prevents the stimulus from occurring.
Example: A rat learns to jump over a barrier to escape electric shock, or a person learns to take pain medication to terminate headache pain.