Fearing that it was an all-out invasion, France pre-emptively surrendered.

Source