Hi,
I am not sure if I am understanding the issue that you have.
The sleep end device is looking for the network, but the Coordinator is turn off or is gone, the device will be looking for the coordinator, because it is the direct parent, in this case.
Could you please provide a screen of the terminal log?
Regards,
Mario