Yes. The Marquis de Lafayette disguised himself as a girl to escape from Austria after being imprisoned in the Fortress of Olmütz.
This daring escape during the French Revolutionary Wars added to his legend as a revolutionary hero on two continents.