He continued discreetly as an Episcopalian, remaining informally the primate until his death on 13 June 1704.
He died at Campbell's Close in Canongate, Edinburgh, and was buried in the graveyard of the church of Restalrig.