The Coalition armies marched straight for the capital. Marmont and Mortier with what troops they could rally took up a position on Montmartre heights to oppose them. The Battle of Paris ended when the French commanders, seeing further resistance to be hopeless, surrendered the city on 31 March, just as Napoleon, with the wreck of the Guards and a mere handful of other detachments, was hurrying across the rear of the Austrians towards Fontainebleau to join them.