In July 1837 "Hazard" sailed for the coast of Senegal to protect British shipping and to patrol the coast of West Africa. In October 1837 she was in the Mediterranean. She took part in the Egyptian–Ottoman War (1839–1841), also known as the Second Syrian War, when the British Mediterranean Fleet under Admiral Sir Robert Stopford, supported the Ottoman Empire and took action to compel the Egyptians to withdraw from Beirut. During the Oriental Crisis of 1840 "Hazard" was involved in the bombardment of St. Jean d’Acre on 3 November 1840.