Ok, I see. No, WinSCP does not terminate gracefully. You are the first one to ask for it.
I've added this request to the tracker:
Issue 2348 – Graceful termination when console window is closed
Though even if it did, I do not think that it would leave no file corrupted. It would likely do the same what it does when a transfer is interrupted for whatever other reason.