If you have attached dbx to a process you can detach the process from dbx without killing it or the dbx session using the detach command.
To detach a process from dbx without killing the process:
(dbx) detach