In 1780, during the American War of Independence, as a lieutenant of artillery, Morla took part in the Gibraltar campaign, where he was wounded.