The UK economy has proven its resilience many times throughout history.