Resilience in autonomous shipping