Your new to linux and ssh/putty too...
If you make an connection to a remote pc via putty, then you reboot the remote connection. Of course the connection get broken
You have just turned off the program receiving the packets, unexpectedly from the point of view of putty.
This is normal and expected.