Operating from Australian ports during World War II, Cod received a battle star for each of her seven war patrols, and sank nearly 27,000 tons of Japanese shipping, including the destroyer Karukaya. As a participant in Project 3, Cod carried a Navy cameraman aboard during her last war patrol. The resulting color film footage included a desperate attempt to rescue the Dutch submarine O-19 which grounded on Ladd Reef. When towing attempts failed, Cod took the Dutch crew aboard and destroyed O-19 with explosive charges, torpedoes and gunfire. Other film highlights include sinking enemy vessels and the recovery of a lost boarding party that became stranded aboard a junk for two days when Cod was forced to submerge by attacking enemy aircraft.

Decommissioned 22 June 1946 at New London, Connecticut and laid up in the Atlantic Reserve Fleet, New London.
Reclassified as Auxiliary Submarine AGSS-224 on 1 December 1962.
Reclassified as Miscellaneous Unclassified Submarine IXSS-224 on 30 June 1971.
Struck from the Naval Register on 15 December 1971.
USS Cod was placed on permanent display as a National Historical Memorial at Cleveland, Ohio on 25 January 1975.

6 Apr 1944USS Cod (Lt.Cdr. J.C. Dempsey) departed from Fremantle for her 3rd war patrol. She was ordered to patrol in the Sulu and South China Sea.

10 May 1944USS Cod (Lt.Cdr. J.C. Dempsey) torpedoed and sank the Japanese torpedo boat Karukaya and the Japanese troop transport Shohei Maru (7255 GRT) in the South China Sea about 150 nautical miles north-west of Manila in position 15°38'N, 119°32'E.

28 Apr 1945USS Cod (Lt.Cdr. J.A. Adkins) suffers a fire in the after torpedo room. She is able to continue her patrol.

29 May 1945USS Cod (Lt.Cdr. J.A. Adkins) ended her 6th war patrol when she returns to Guam.

26 Jun 1945USS Cod (Lt.Cdr. J.A. Adkins) departed from Guam for her 7th war patrol. She was ordered to patrol in the Gulf of Siam and along the coast of Indo-China.

8 Jul 1945USS Cod (Lt.Cdr. Edwin M. Westbrook, Jr.) rescues the crew of the Dutch submarine HrMs O 19 that had been stranded on Ladd Reef, in South China Sea, about 300 nautical miles north-west of Brunei Bay in position 08°40'N, 111°40'E. after two days and several attempts to tow the O 19 free of the reef the O 19 is scuttled on the 10th by scuttling charges, torpedoed and finished off with gunfire.

21 Jul 1945USS Cod (Lt.Cdr. E.M. Westbrook, Jr.) sank a Japanese sampan with gunfire in the South China Sea off the east coast of Malaya in position 05°22'N, 103°16'E.

25 Jul 1945USS Cod (Lt.Cdr. E.M. Westbrook, Jr.) sank a Japanese sampan with gunfire in the South China Sea off the east coast of Malaya in position 05°08'N, 103°35'E.

26 Jul 1945USS Cod (Lt.Cdr. E.M. Westbrook, Jr.) sank 2 Japanese sampans with gunfire in the South China Sea off the east coast of Malaya in position 04°32'N, 103°33'E.

27 Jul 1945USS Cod (Lt.Cdr. E.M. Westbrook, Jr.) sank 3 small Japanese vessels with gunfire in the South China Sea off the east coast of Malaya in position 05°18'N, 103°16'E, and one Japanese sampan in position 05°18'N, 103°39'E.

29 Jul 1945USS Cod (Lt.Cdr. E.M. Westbrook, Jr.) sank 7 small Japanese vessels with gunfire in the South China Sea off the east coast of Malaya in position 04°29'N, 103°34'E.

30 Jul 1945USS Cod (Lt.Cdr. E.M. Westbrook, Jr.) sank a small Japanese vessel with gunfire in the South China Sea off the east coast of Malaya in position 04°43'N, 103°31'E. Later that day she sank another one in position 04°35'N, 103°31'E.

31 Jul 1945USS Cod (Lt.Cdr. E.M. Westbrook, Jr.) sank 6 small Japanese vessels with gunfire in the South China Sea off the east coast of Malaya in position 04°30'N, 103°30'E.

1 Aug 1945USS Cod (Lt.Cdr. E.M. Westbrook, Jr.) sank a small Japanese vessel with gunfire in the South China Sea off the east coast of Malaya in position 04°21'N, 103°22'E.