User exit u0032 logs off the current process.
See Also
logoff Command, Proc Processor User Exits, ua116 User Exit