After completing repairs, "Spragge" returned to service with the 1st Destroyer Flotilla at Portsmouth in May 1945. After Germany surrendered in early May 1945, she was selected for conversion into a floating power station. Between June and August 1945 – when the armistice with Japan brought World War II to a close – she underwent conversion for her new role, which involved removal of all of her armament and modifications to her electrical system, at Portsmouth Dockyard.