To detach connections from a tmux session, you can use <prefix> + D from within tmux. A list of connections will be displayed and you can choose which ones to disconnect.
<prefix> + D
tmux
Source