 Medusa survived the war and was one of six light cruisers Germany was permitted to keep in service by the Treaty of Versailles . The ship served in the Reichsmarine from 1920 to 1924 ; in 1922 , Medusa was assigned to the Active Squadron in the Baltic Station , alongside the battleship Hannover . In 1924 she was withdrawn from service . On 29 March 1929 , she was stricken from the naval register and thereafter used as a barracks ship in Wilhelmshaven . In July 1940 , during World War II , Medusa was converted into a floating anti @-@ aircraft battery in Wilhelmshaven . Her armament at that point consisted of one 10 @.@ 5 cm SK C / 32 gun , four 10 @.@ 5 cm SK C / 33 guns , two 3 @.@ 7 cm SK C / 30 guns , and four 2 cm guns . She was then assigned to Naval Anti @-@ aircraft Group 222 , and remained in the harbor at Wilhelmshaven for the duration of the war . Her crews scuttled the ship on 3 May 1945 , days before the end of the war in Europe . The wreck was ultimately salvaged in 1948 – 1950 and broken up for scrap . 
