Behavioural resilience