Well, in case if it just exits then probably path in main window became invalid and therefore window was closed.
Please, look in the settings, what is your choice on the option 'When removable medium unmounted:'? Is it 'Close tab containing removable medium' probably? It yes then try to change it to 'Change folder in the tab to Home Folder', please. Your issue might be gone after that.