The plan you describe, which explains how you will return affected hardware and software to their original state if the change fails, is called a backout plan. This plan is a key part of change management and details the steps to undo the change and restore the system to its prior stable condition in case the change does not succeed