He held the lectureship on agriculture in the Royal Cork Institution for many years, and resigned the post in 1815.
He married Mary, eldest daughter of William Phair of Brooklodge near Cork in 1808, and died in 1822.
In 1824 a monument with a long laudatory inscription was erected to his memory in the grounds of the Fever Hospital by his fellow-townsmen.
Dr. Barry contributed many papers on vaccination, fever, and similar subjects to the London Medical and Physical Journal, 1800–1 (vols.
In his essays he forcibly described the physical dangers of drunkenness, and the necessity of coercing habitual drunkards by law.