Pesky, whose father had been an officer in the Austro-Hungarian Navy before World War I, served at Amherst, Massachusetts in 1942. He was later at Chapel Hill, North Carolina, where he played shortstop for the Cloudbusters, and Atlanta Naval Air Station, where he met his wife, Ruth Hickey, who was also serving with the Navy. On June 13, 1943, Pesky graduated as an ensign from the assistant operations officers’ school at Atlanta. In 1945, Pesky was in Hawaii, where he played shortstop and managed the Honolulu Naval Air Station baseball team. When the season closed in October 1945 he was runner-up Most Valuable Player in the 14th Naval District league. Pesky later said, "I think that if I didn't have baseball to come back to, I'd have stayed in the Navy because it was clean and I kind of liked the atmosphere."-Baseball in Wartime
Williams then attended gunnery training at Jacksonville where he once again set gunnery records. He then returned to Pensacola where he served as an instructor at Bronson Field. He played baseball for the base team, the Bronson Bombers, which won the Training Command championship that year. Due to an excess of cadets, instructors were mandated to washout one third of their students. Williams refused to washout good students for the sake of statistics and was called on the carpet for it. He stood his ground and replied: "If I think a kid is going to make a competent flyer, I won't wash him." From June to August 1945, Williams went through the Corsair Operational Training Unit at Jacksonville. He was in Hawaii awaiting orders as a replacement pilot when the war ended. Williams returned to the States in December and was discharged from the Marines on January 28, 1946. – M.L. Shettle, Jr. California State Military Museum
When Williams came back to baseball for the 1946 season, he was just as sharp as ever. He finally won the AL MVP award that had been just barely out of reach his previous two season. That year he hit .342/38/123 and continued his active streak of making the All-Star team, which he did every season for the rest of his career with the exception of 1952. In 1947 Williams won his second Triple Crown (.343/32/114), becoming the second player in MLB history and the first in the American League to accomplish the feat. He almost did it a third time in 1949. That year he hit .343 with 43 home runs and 159 RBI, the latter two he handily lead the league in; however, it was his batting average that came up short. Had Williams gotten two more hits throughout that season he would have tied Joe DiMaggio’s mark of .346. Williams still won the AL MVP that season, the second and final of his career.