Brigadier William Mackintosh, 4th of Borlum escaped abroad and his father, the 3rd of Borlum, died the same year. Brigadier William Mackintosh, 4th of Borlum returned with a small force of 6000 Scots and Spaniards during the Jacobite rising of 1719 who had landed on the Isle of Lewis under the command of William Murray, Marquess of Tullibardine but who were subsequently defeated at the Battle of Glen Shiel. Mackintosh of Borlum lingered for sometime in Scotland without detection but was ultimately apprehended and imprisoned in Edinburgh Castle. He spent the rest of his life in prison. After being kept in captivity for nearly a quarter of a century he died on 7 January 1743, true to his Jacobite principals, aged 80. During his time in captivity he had published a "treatise on agriculture" and the year before he died, "a scheme for curbing depredation in the Highlands" - which was apparently being used with success thirty years later.