With $ZTRAP: New $ZTRAP Set $ZTRAP=...
With $ETRAP: New $ETRAP Set $ETRAP=...
In both cases, QUITting to a lower level may effectively make the other mechanism active.