WezTerm supports multiplexing panes, tabs and windows across local and remote hosts. That makes session behavior a useful part of the WezTerm alternatives entry, alongside rendering and keyboard preferences.
Run a harmless long-lived command in the intended local or remote setup, detach or disconnect, then reconnect through the documented path. Check what survived and where it ran. A terminal window reopening is not evidence that the original shell process remained alive.