If I exited the tab using exit command and then press Ctrl+Z to reopen the tab, then the tab opens in a hanging state.
Required information for bugs. I probably can't help you unless you include this:
- iTerm2 version
- OS version
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here
- Attach a debug log (https://iterm2.com/debuglog)