sp_dbcc_updateconfig accepts delete as a value for the str1 parameter, which allows you to delete configuration values that you have set on databases.
sp_dbcc_updateconfig null, 'max worker processes', 'delete'
sp_dbcc_updateconfig my_db, 'max worker processes', 'delete'