How to issue a network leave command?

I read in the XBee PRO user manual that a router can leave a network by issuing a network leave command. How do i issue it? I don’t find it anywhere.
If i use ATNR0 (or CB with parameter set to 4) to force a router to leave a network, will it hurt the XBee?

ATNR0 will cause network to reset (leave and join again) and it will not hurt XBee.

You can issue ATRE to restore module parameters to default values, including ID and SC. The device attempts to join a network based on its ID and SC settings.