Actually, more or less nothing happened to me.
The login stayed alive.

I think ssh spawns a login shell, and then the shell runs by itself.