Restoring factory default settings can be done by either:
Sending FACTORY_RESET message over UART interface
Using Cyber Studio application to perform the factory reset operation
This operation loads initial (factory default) settings to a device RAM memory. In order to persist the settings for later, use WRITE_FLASH message afterwards.