The French (and their King, who was captured) believed themselves surrounded, and they basically had their lines collapse and fled.