he had been at the burntisland docks with fergus and a gang of six men during the night , taking advantage of the late dawn of winter to retrieve several casks of unbonded madeira , smuggled in among a shipment of innocent flour .