History of the Peloponnesian War
Thucydides
Thucydides, Vol. 1-4. Smith, Charles Foster, translator. London and Cambridge, MA: Heinemann and Harvard University Press, 1919-1923.
And it turned out so; for the Syracusans, coming no nearer because of the fire, now retreated. And, besides, reinforcements were already coming up to the round fort from the Athenians below, who had chased away the enemy there, and their ships at the same time were sailing down, as they had been ordered, from Thapsus into the Great Harbour.
Seeing these things, the men on the heights and the main army of the Syracusans hastily withdrew into the city, thinking that with the force they then had at their disposal they could no longer prevent the building of the wall to the sea.
After this the Athenians set up a trophy and restored their dead to the Syracusans under truce, themselves getting back the bodies of Lamachus and his men. The whole of their armament being now present, both fleet and land-force, starting from the bluff of Epipolae they proceeded to cut off the Syracusans by a double wall down to the sea.