Just switched from bash to zsh.
In bash, background tasks continue running when the shell exits. For example here, dolphin continues running after the
dolphin
Start the program with &!:
&!
dolphin &!
The &! (or equivalently, &|) is a zsh-specific shortcut to both background and disown the process, such that exiting the shell will leave it running.