The File > Exit All menu command closes and exits all the FTP sessions currently open, both active and not active.
The File > Exit All command function can be duplicated by the following:
Alt + F, E key sequence