moored alongside Anthedon. She was at Subic Bay when hostilities with Japan ended on 15 August 1945. End of war Two weeks after Japan's capitulation, Baya departed Subic Bay bound for San Francisco, California, which she reached on 24 September 1945, passing under the Golden Gate Bridge as part of Admiral Halsey's symbolic end-of-war parade. Shortly thereafter she began inactivation, remaining in the San Francisco area, and on 14 May 1946 she was decommissioned and placed in reserve at Mare Island Navy Yard at Mare Island, California. Research submarine Baya was converted to an electronics experimental submarine and recommissioned on 10 February 1948 with Commander John D. Mason in command. All torpedo loading and stowage equipment was removed at the Mare Island Naval Shipyard to make room for Naval Electronics Laboratory (NEL) personnel and equipment. Reclassified as an auxiliary research submarine, AGSS-318, on 12 August 1949, Baya conducted experiments for NEL San Diego, California. She participated in local operations near San Diego and served with a joint American-Canadian task force gathering scientific data off western Canada in November and December 1948. During July–September 1949 she made a cruise to the Arctic to gather valuable scientific data in the Bering Sea and Chukchi Sea. In April 1953, Baya began an overhaul at the Pearl Harbor Naval Shipyard at Pearl Harbor, Hawaii, and, upon completing it, resumed her duties in support of underwater electronics research, which occupied her throughout 1954 and for most of 1955. Between July and October 1955 she was deployed to Pearl Harbor for further experimental research. In December 1955 she commenced an overhaul at the Hunters Point Naval Shipyard in San Francisco to update her capabilities for NEL testing. Baya was used as a testbed for two early sonar transducer arrays which markedly changed her appearance. The first arrangement of 196 transducers in a 14×14 array was attached to the former gun mount abaft the conning tower, facing starboard and surrounded by a fairwater resembling a second conning tower. She then operated from San Diego and Pearl Harbor for the rest of her career. She conducted a one-day cruise to film an episode of the 1958–1961 television show Sea Hunt, starring Lloyd Bridges. After the first array and fairwater were removed, Baya was completely reworked at Mare Island Naval Shipyard during 1958 and 1959 to test a second array, called LORAD (for "LOng RAnge Detection"). The forward torpedo