Later life
In 1648, Henrietta Maria sent him to Scotland to further 'the engagement', and to persuade his countrymen to receive the Prince of Wales, whom she wished to take part in the effort for the deliverance of the king. He first tried to induce Argyll and the dominant party in the church to support the resolutions of the Scottish estates, but, failing in this, he took counsel with the Duke of Hamilton and his friends, and in May, he returned to the continent with letters from them formally inviting the prince to Scotland.
Among those who gathered round Charles II at the Hague immediately after his father's death, Lord Byron mentions "old William Murray, employed here by Argyll." After the Scots commissioners returned unsatisfied in June 1649 from their visit to the Dutch Republic, Charles sent over William Murray with private letters to Argyll and Loudoun. It is to this period apparently that John Livingston refers in his 'Autobiography' when he says that William Murray and Sir Robert Moray, who had long been very intimate with Argyll, 'put him in hopes that the king might marry his daughter.'
In 1650, when the Scots commissioners were treating with Charles at Breda, Murray was sent with instructions to them, and in May of that year Sir William Fleming, who carried letters from Charles to Montrose, with whom he was still in correspondence, was directed to advise with William Murray and others as to whether Montrose should still keep the field or not. This goes to show that Murray abetted and shared in the king's duplicity. Burnet says that Murray was "very insinuating, but very false, and of so revengeful a temper that rather than any of the counsels given by his enemies should succeed he would have revealed them and betrayed both the king and them. It was generally believed that he had betrayed the most important of all his [the king's] secrets to his enemies. He had one particular quality, that when he was drunk, which was very often, he was upon a most exact reserve, though he was pretty open at all other times." The last statement does not seem very credible, but the attempt to please both his royal master and the extreme covenanters was not compatible with straightforwardness.