Set the default settings just as explained above, but use factory for the property value. For example, if you changed the default line width to 10 as above and then you wanted to set it back to the original setting, you would type:
set(gca,'DefaultLineLineWidth','factory')