To factory reset a Smart Plug:

The Smart Plug is now in a factory reset default state, to add it back onto the system again go to the 'Doctor' on the app which is under the 'Main Menu'.