It depends on what you mean by default settings.
Sending a M503 will change the EEPROM to the settings in your config files. This basically throws away any setting updates that were done via gcodes.
Anything further requires editting your config files.