The French could not move (moored to their piers), could not sail (not manned, not already at sea, no boiler steam pressure), could not shoot back because their battleships were moored with no auxiliary steam steam pressure and no ammo loading hoists active, tied up with their sterns to the pier, their forward-mounted turrets unable to fire back.
because their forward-mounted turrets (like this battleship) and guns pointed inland!