Britain was leaving the EU. Everyone started to panic.