The ship was present when the British attacked the fleet in the port on 3 July lest the ships be turned over to the Germans, but managed to escape to Toulon without damage, even though her maximum speed on one shaft was only 20 knots .