VirtFS and Jailshell
When terminating an account, the VirtFS mounts for the account are removed.
The VirtFS mounts for an account are cleared when changing the shell of the account. This only happens automatically when using the Manage Shell Access interface in WHM.
Session Disruption
If a user has an active jailshell session when the Administrator changes the user’s shell, the user’s connection is terminated. This is necessary to allow successful removal of the bind mounts used in the jailshell environment.