The quit command exits dbx. It has the same syntax and 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 for fine control.
Exit dbx with return code 0. Same as exit.
Exit with return code n. Same as exit n.
where:
n is a return code.