- kill iterm2 from Activity Monitor
- open a terminal
- login to tmux and back up using tmux resurrect or similar
pkill iTerm
ps |grep tmux
kill -9 # for each [pid] correesponding to a `tmux -CC` process,
# you could use pkill instead if you got the pattern right?
restart iTerm2 restore your tmux if needed