When your SmartThings hub is completely powered off with the batteries removed, all the Zigbee devices that are connected to your hub go into what is known as “panic mode”.
Open and read the following post. It gives you a fully detailed explanation of how Zigbee and it’s devices work.