In February, 1587, Queen Mary Stuart was executed. It is the one important event of the period with which Ralegh's name is not connected. He does not appear to have been consulted, nor to have spoken on the matter either in or out of Parliament. Its consequences concerned him. The act quickened the Spanish preparations for the invasion of England. King Philip had no thought of concealment. He published his designs to all Europe. The menaced kingdom had full notice. In November, 1587, a council of war was instructed to consider the means of defence. Its members were Lord Grey, Sir Thomas Knolles, Sir Thomas Leighton, Sir Walter Ralegh, described as Lieutenant-General of Cornwall, Sir John Norris, Sir Richard Grenville, Sir Richard Bingham, who had been Ralegh's early comrade in Ireland, Sir Roger Williams, and Mr. Ralph Lane. They advised that Milford Haven, the Isle of Wight, the Downs, Margate, the Thames, and Portland should be fortified against Spanish descents. They thought it improbable the King of Spain would venture his fleet far within the Sleeve before he had mastered some good harbour. Consequently they recommended the defence of Plymouth by strong works, and a garrison of 5000 men from Cornwall and Devon. Portland they reported should be guarded by 2700 from Dorset and Wilts. If the enemy landed, the country was to be driven so as to leave no victuals for the invader. Ralegh separately petitioned Burleigh for cannon for Portland and Weymouth. Thence some have inferred that he was now Governor of the former.
In December, 1587, he was employed, in concert with Sir John Gilbert and Lord Bath, in levying a force of 2000 foot and 200 horse in Cornwall and Devon. Exeter claimed exemption on account of its heavy expenses for the defence of its trade against Barbary corsairs. By the beginning of 1588 the immediate fear of attack had abated. The invasion was thought to have been put off. Ralegh took the opportunity to visit Ireland. There he had both public and private duties. He retained his commission in the army. Moreover, he was answerable, as a Crown tenant, for twenty horsemen, though his charges for them were refunded. Thus, in March, 1588, an order was made for the payment to him of £244 for the previous half year. Always he had his estate to put in order, and functions connected with it to perform. According to the local records, he served this year the office of Mayor of Youghal. During a considerable portion of the term he must have been an absentee. In Ireland the news reached him that the Armada had started or was starting. Hastening back he commenced by mustering troops in the West, and strengthening Portland Castle. But his own trust was in the fleet. In his _History of the World_ he propounds the question whether England without its fleet would be able to debar an enemy from landing. He answers by showing how easily ships, without putting themselves out of breath, will outrun soldiers marching along the coast. The Spaniards in July, 1588, could, in his opinion, but for the English ships, have chosen a landing-place with no sufficient army at hand to resist them. The Armada might have failed, he admits, against the choice troops gathered about the Queen. He did not believe in the ability of the remainder round the coast to encounter an army like that which the Prince of Parma could have landed in England. His advice had its weight in inducing Elizabeth to fit out the fleet, which did noble service under Howard of Effingham.