Then came a month of deadlock. He was blockaded by a vastly superior force that watched the narrow pass through which, if he left the harbour, his fleet must come out one by one. But so long as he was within the headlands he was unassailable.

Admiral Sampson declined to risk his ships in an attempt to force the narrow entrance and destroy the Spanish squadron inside. An attempt to "bottle up" Cervera, by sinking a tramp steamer, the "Merrimac," in the entrance, proved a failure. Long-ranging bombardments produced no effect on the Spaniards. All the plans formed at Washington for the Cuban campaign were disorganized. The blockade of the island had become the blockade of the one port of Santiago. If the United States Government had known how short of supplies were the city and garrison of Santiago and Cervera's fleet, it might have trusted to the blockade by sea and the operations of the insurgents by land, with the help of a few regulars, to force the Spanish admiral either to surrender or come out and fight. But it was decided to abandon for the present the projected attack on Havana, and send the army, collected for this purpose at Tampa, to attack Santiago by land, and so deprive Cervera of his refuge in the harbour.

Santiago was defended by lines of entrenchments with some improvised outworks, and garrisoned by a division under General Linares. The American transports from Tampa began to arrive on 20 June, and the expeditionary force, under General Shafter, was disembarked during the following days some miles east of the city. There was then an advance over mere forest tracks through hilly country covered with dense bush. Cervera landed seamen gunners with machine-guns and light quick-firers to strengthen the defence, and anchored one of his cruisers so that her heavy artillery could enfilade an attack on the entrenchments nearest the harbour.

On 1 July Shafter made his attack. The Spaniards defended themselves with such obstinate energy that after fighting through a long summer day only two outposts had been taken by the Americans, and at the cost of heavy loss. Next day there was desultory fighting along the front, but no progress. It was difficult to bring up supplies along the forest tracks, now sodden with tropical rains. Sickness had broken out in the American lines. The resistance of the Spaniards showed a dogged determination that was a surprise to the invaders.

Shafter himself was ill. Late on Saturday, 2 July, he appealed to Admiral Sampson to help him by forcing the narrows at all costs, and in the early hours of Sunday, the 3rd, he sent off to his Government a dispatch which was a confession of failure.

This discouraging report was cabled to Washington early on the Sunday morning, and caused deep dismay at the White House, but before evening news arrived of events that had changed the whole situation.

The evening before (2 July) Mr. Ramsden, the British Consul at Santiago, had written in his diary:—

"It seems incredible that the Americans with their large force have not yet taken the place. The defence of the Spaniards has been really heroic, the more so when you consider that they are half-starved and sick. It was affirmed to-day that the squadron would leave this evening, but they have not done so, though the pilots are on board. I will believe it when I see them get out, and I wish they would. If they do, they will fare badly outside."

During the Saturday Cervera had re-embarked the seamen landed for the defence of the city, and had got up steam. He was going out because the presence of his crews now only added to the difficulty of feeding the half-starved garrison and population of the place. He had a short supply of inferior coal, and the most he hoped for was that some of his ships would elude, or fight their way past, the blockading squadron, and reach Havana. It is impossible to understand why, having decided to go out, he did not make the attempt in the darkness of Saturday night, instead of waiting for broad daylight next day.

In one respect he was fortunate. His coming out was a complete surprise for the Americans, and found them quite unprepared, with some of their best ships far from the scene of action. Admiral Sampson had steamed off to the eastward in his flagship, the "New York," intending to land at Siboney for his interview with General Shafter. The battleship "Massachusetts" had gone with two of the lighter cruisers to coal at Guantanamo. But there were quite enough ships left off the seaward opening of the narrows, where four battleships, an armoured cruiser, and two light craft were keeping up the blockade.