You can kill an unresponsive SSH connection in various ways, like killing a process from another terminal or forcefully killing the current shell, but I don’t do it anymore because I know the secret keybinding or command that can drop the unresponsive SSH connection.