The $POP directive restores the values of all local compiler directives with the last values that were stored on the settings stack. The settings are then deleted from the stack.
The settings can be stored on the stack with the $PUSH directive (see section 1.2.63, page 158).
Note that global settings are not restored by this directive.