The quit command exits dbx. It has identical syntax and identical functionality in native mode and Java mode.
If dbx is attached to a process, the process is detached from before exiting. If there are pending signals, they are cancelled. Use the detach command (see detach Command) for fine control.
Exit dbx with return code 0. Same as exit.
Exit with return code n. Same as exit n.
n is a return code.