As young men left the farms for the front, domestic food production in Britain and Germany fell. In Britain, the response was to import more food, which was done despite the German introduction of unrestricted submarine warfare, and to introduce rationing. The Royal Navy's blockade of German ports prevented Germany from importing food and hastened German capitulation by creating a food crisis in Germany.