I’ve often wanted to start a subprocess as a daemon in bash or zsh.
Now I know how!
the_command & disown
You will still see stdout and stderr in the terminal, but you can exit from the shell process without killing the command.
nohup also works, but will send the stdout to a file instead of your terminal.
If you want to do this to a running process, you can
bg, and then