The TPU$CLEANUP routine cleans up internal data structures, frees memory, and restores terminals to their initial state. This is the final routine called in each interaction with TPU. Format TPU$CLEANUP flags
TPUHELP.HLB