in july 1801 with bonaparte massing his forces and gathering his ships along the french coast , nelson led assault after assault on the enemy shipping , daring hit and run raids with gunboats inside fortified french harbours to capture or sink the sheltering warships .