at Pearl Harbor on 13 June. Lieutenant Commander Edward L. Beach Jr. assumed command on 25 June. On 19 July 1945 she departed on her third war patrol, stopping en route at Guam for advanced training from 1 August to 4 August. On 11 August, Piper accounted for two five-ton fishing vessels in Koshiki Kaikyo, and on 13 August she entered the Sea of Japan. There she rescued six prisoners of war; Japan capitulated the next day. 1945 – 1951 On 3 September she headed for Pearl Harbor and onward routing to the United States. Piper arrived 15 October 1945 at the U.S. Naval Submarine Base, New London, Conn. During the next five years, Piper remained in the New London area with the exception of cruises to Nassau, New Brunswick and Nova Scotia, and overhauls in Portsmouth and Philadelphia Naval Shipyards. On 2 May 1950 Piper got under way for a tour of duty with the U.S. 6th Fleet in the Mediterranean. Upon her return to the States she made a six-week cruise to Guantanamo Bay, Cuba, for special exercises. 1951 – 1958 In June 1951 Piper went to the Charleston Naval Shipyard for Fleet Snorkel conversion which gave her the streamlined "new look" and snorkel gear. For the next few years the submarine operated out of New London along the east coast of the United States and in the Caribbean. In July 1955 Piper got under way for her second tour of duty with the 6th Fleet in the Mediterranean. January 1956 found her operating in the Caribbean again. From March to September she underwent an extensive overhaul in the Portsmouth Naval Shipyard. On 1 July 1957, Rear Admiral Charles W. Wilkins, Commander Submarine Force, Atlantic Fleet selected Piper as his flagship. His wife had christened Piper at her launching in 1944. In September Piper sailed for an eight-week NATO exercise in the North Atlantic. In 1958, after completing almost a full year as Flagship of the Submarine Force, Atlantic Fleet, Piper was relieved by . 1958 – 1966 On 6 November 1959 Piper departed New London for a three-month deployment with the 6th Fleet. Throughout 1960 she remained in the New London area. On 20 February 1961 the submarine got underway for exercises in the Caribbean. On this cruise she became the first snorkel submarine to make her 10,000th dive. In the fall of 1962 Piper was deployed