I'm used to type
exit in PuTTY, when leaving the SSH shell. However, you can also just close the terminal.
Unless there is still a task running, does this have any consequences, such as leftover files, processes or anything else?
PuTTY warns you, but is this just a confirmation, or should I really care to properly exit a session?