'' Barham '' became flagship of the 1st Battle Squadron of the Atlantic Fleet in April 1919 , and made a port visit to Cherbourg , France that month together with the rest of the squadron . Captain Robin Dalglish relieved Horne on 1 October 1920 . She retained her position when the 1st and 2nd Battle Squadrons were merged in May 1921 . Dalglish was relieved in his turn by Captain Percy Noble on 18 October 1922 . '' Barham '' participated in the Fleet review on 26 July 1924 at Spithead . A few months later , now under the command of Captain Richard Hill , the ship again retained her position as the 1st Battle Squadron was split in two and the '' Queen Elizabeth '' s of the new 1st Battle Squadron were transferred to the Mediterranean Fleet on 1 November 1924 . On 14 October 1925 , Captain Francis Marten relieved Hill , but he retained command only until 9 March 1926 when Captain Joseph Henley assumed command . Together with her sister , '' Barham '' was sent to Alexandria , Egypt in May 1927 during a time of unrest . Now under the command of Captain Hubert Monroe and accompanied by the battleship , she cruised along the coast of West Africa from December 1927 to February 1928 . She became a private ship in January of that year and was refitted at Portsmouth Royal Dockyard in February – July . Shortly after her return to the Mediterranean , '' Barham '' again became flagship of the 1st Battle Squadron in September after her sister '' Warspite '' had to return home for repairs after running aground . Captain James Somerville relieved Monroe on 1 December and he was relieved in his turn on 16 March 1929 by Captain John C. Hamilton . The ship was relieved as flagship by in June and she was ordered to Palestine in August where her crew helped to suppress rioting in Haifa and also operated the Haifa-Jerusalem railroad . The ship was transferred to the 2nd Battle Squadron of the Atlantic Fleet in November 1929 , and , together with '' Malaya '' , made a port visit to Trondheim , Norway in mid-1930 where they fired a salute to celebrate the birth of Princess Ragnhild on 9 June
rioting in Haifa
1929 Palestine riots
HMS Barham (04)