He was possibly declared to be the Duke of Gloucester by his father when quite young, perhaps from birth, or according to one authority was created Earl of Cambridge and Duke of Gloucester on 13 May 1644.
During the civil war, he was captured by the Parliamentarians along with his sister Elizabeth and imprisoned first in White Tower, Tower of London and then in Carisbrooke Castle, Isle of Wight. They were allowed to visit their father the day before his execution. After Elizabeth died in September 1650, Henry was released and joined his brother Charles II in exile in The Hague and/or his mother and sister in Paris.
He was nominated a Knight of the Garter, as Duke of Gloucester on 4 April 1653 and invested on 14 April 1653 at The Hague. He is again said to have been created by patent, (though no patent was ever found) Earl of Cambridge and Duke of Gloucester on 13 May 1659.
He probably accompanied his brother Charles II on his trimphal return to London on 29 May 1660, and although underage, sat in the House of Lords as Duke of Gloucester on 31 May 1660. He was appointed Ranger of Hyde Park in July 1660, but died of smallpox on 13 September 1660 at Whitehall. He was buried in the South Side of the King Henry VII Chapel in Westminster Abbey on 21 September 1660. 
The Wikipedia article for Henry Stuart, Duke of Gloucester has extensive details about his imprisonment and period of exile, but as there are no sources quoted in that section of his biography, it is unclear whether it is exact.
↑Burial of Henry "Duke of Glocester" in: Chester, J.L. (Ed.), (1876). The marriage, baptismal and burial registers of the Collegiate Church or Abbey of St. Peter, Westminster,Internet Archive accessed 19 December 2015, updated 24 April 2021. Footnote confirms the date of death and cause as smallpox.
Cokayne, G.E. (1926). The Complete Peerage of England Scotland Ireland Great Britain and the United Kingdom extant extinct or dormant, 2nd ed., vol. 5, edited by V. Gibbs & H.A. Doubleday. Electronic version by ABC Publications, 2003.
Is Henry your ancestor? Please don't go away! Login to collaborate or comment, or contact
the profile manager, or ask our community of genealogists a question.
Sponsored Search by Ancestry.com
It may be possible to confirm family relationships with Henry by comparing test results with other carriers of his ancestors' Y-chromosome or mitochondrial DNA.
Y-chromosome DNA test-takers in his direct paternal line on WikiTree: