Put a setting back to the value it had before the first "I change the ... setting to ..." of the scenario, on the screen that is open. Follow it with "I save the settings". Use it at the end of a scenario that changed a setting, so the site is left as it was found.
Examples
When I restore the "Site Title" setting
When we restore the "Tagline" setting
And I restore the "Site Title" setting
When I restore the "New User Default Role" setting
And we restore the "Tagline" setting
Pattern
When(/^(I |we )*restore the "([^"]*)" setting$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.