They returned to service with a new battery of four  150 mm Krupp quick-firing guns as guard ships, and in this capacity Avnillah was sunk in the Battle of Beirut during the Italo-Turkish War in January 1912. ''