Today's complex systems are vulnerable to disruptions from natural, deliberate, and accidental events. The paper explores resilience of systems under disruptions due to disease events, fires, outages in the power grid, and damage to critical infrastructure, and describes algorithms for responding to a disruption that minimize the departure from a previous state.