If you really want to go back to an empty system then you can just delete the flows file and restart node-red. It will create a new empty one for you. Make sure you have it backed up unless you are really sure you want to throw it s away. You can find the flows file by looking in the node-red startup log.