With the advent of the cannon in the 18th and 19th centuries, castles such as Tullynally morphed from military strongholds into lordly family homes.