Answer
Commander-in-chief of Ireland was the military position held by Cornwallis in 1798. This role entailed overseeing the British military forces in Ireland during a period of political unrest and rebellion. Cornwallis was responsible for maintaining order and suppressing the uprising, which he achieved through a combination of military action and diplomatic negotiations.