The 72nd moved to Ireland in 1801. A second battalion was raised in 1804 but it remained in the United Kingdom throughout the War, and was disbanded in 1816. In August 1805 the 1st battalion put to sea and landed in Madeira before moving on to the Cape of Good Hope at the end of the year and taking part in the Battle of Blaauwberg against the Dutch in January 1806. The regiment was renamed the 72nd Regiment of Foot and lost its highland uniform in April 1809, although it preserved many Scottish traditions, including unofficial retention of pipers. From South Africa, the 1st battalion sailed again and took part in the Invasion of Isle de France (Mauritius) in December 1810. It returned to Cape Town in June 1814 and, apart from a short posting in India in 1815, remained at the Cape until returning home in March 1822. In December 1823 the regiment was renamed the 72nd (or Duke of Albany's Own Highlanders) Regiment of Foot after Prince Frederick, Duke of York and Albany, again adopting Highland dress but with trews, with only pipers wearing the kilt.