During the Jacobite rising of 1745, McDonald fought as a lieutenant under the command of Charles Edward Stuart in the Battle of Culloden, after which he was "attainted of treason". He fled Scotland, departing from Inverness for the Colony of Virginia in 1746 at the age of 18. Following his arrival in Virginia, McDonald worked as a merchant in Falmouth for two or three years.