You can not re-attach a process id. You need to reattach the corresponding tmux
session.
So do tmux ls
. Pick whatever session you want to re-attach. Then do tmux attach -d -t <session id>
to re-attach it to a new tmux instance and release it from the old one.