The window remains visible until explicitly hidden via TrayAppState.hide() or by clicking the tray icon again. Focus loss and outside clicks do not dismiss the window.