One of them rammed Cobia, causing minor damage, but the submarine continued her mission, sinking a converted yacht of 500 tons on 5 August.
After refitting at Majuro from 14 August to 6 September 1944, Cobia sailed into the Luzon Strait for her second war patrol, a mission frequently punctuated by attacks by Japanese aircraft.
After landing intelligence teams along the coast of Java on 27 July, Cobia sailed to act as lifeguard during air strikes on Formosa until the end of hostilities, returning to Saipan 22 August.
Cobia sailed on for Pearl Harbor, New York, Washington, and New London, where she was decommissioned and placed in reserve 22 May 1946.
Recommissioned 6 July 1951, Cobia trained reservists and Submarine School students at New London until placed in commission in reserve at the Portsmouth Naval Shipyard 29 October 1953.
By 1959, the Navy considered Cobia obsolete as a deployable warship and transferred her to the Milwaukee, Wisconsin Naval Reserve Center.
On 1 July 1970, the Navy struck Cobia from the Naval Register, and she was towed to Manitowoc, Wisconsin to serve as an international memorial to submariners.
Cobia is permanently docked at the Manitowoc River's mouth at Lake Michigan, where tours are given daily and overnight stays are available for groups or individuals.