No, John Forbes never captained a cricket team. He was a Scottish physician and botanist, not a cricketer. He is best known for his work on the natural history of Scotland, particularly his book "The Naturalist's Paradise" published in 1776.
John Forbes Brain Battle: 31 Questions to Win the War