Issuing "ezjail stop {jailname}" does NOT run shutdown script inside the jail; instead it seems it just kills the jailed processes badly. This can be a problem in several situations. I was recently bitten by this, but see it was discussed several times earlier. E.g.: https://forums.freebsd.org/threads/jails-are-not-shutdown-during-reboot.51017/ The problem can be solved by changing jail_{jailname}_exec_stop in ${PREFIX}/etc/ezjail/{jailname}. This has to be done for every single jail. Somewhere it is suggested this can be done globally, by putting ezjail_exec_stop="/bin/sh /etc/rc.shutdown" in ${PREFIX}/etc/ezjail.conf, but this did not work for me. I understand there is no global consensus on whether rc.shutdown should be called at jail stop; also I thinks FreeBSD base system's jail command defaults to NOT running it. However, ezjail(7) says: jail_JAILNAME_exec_stop The command to run inside the jail when stopping it. Defaults to the empty string, which means "/bin/sh /etc/rc.shutdown". So either the default is really changed or the manual page should be corrected.