Resilience between mitigation and adaptation