The day after Japan's attack on Pearl Harbor, Muri and his unit were assigned to Muroc Army Airfield, California. They had begun training with the intent of being assigned to the Pacific theater. Seven months later, Muri and his men received orders for New Guinea, flying there by way of Hawaii. While in Hawaii, Muri was assigned his own Martin B-26, which he named Susie Q, his wife's nickname. He and his unit were soon diverted to Midway Island. In the morning of June 4, 1942, during the Battle of Midway, a Japanese aircraft carrier force was spotted approaching the island. Muri's unit received no specific training or any pre-flight briefing, they only knew the location of the aircraft carrier Akagi. On the way to its target, Muri's formation was intercepted by Japanese Zero fighters and the flight descended to 200 feet above sea level to evade the fighters' fire and the carrier's defensive guns. Muri, after dropping his torpedo and searching for a safer escape route, flew directly down the length of the Akagi while being fired upon by fighters and anti-aircraft fire, which had to hold their fire to avoid hitting their own flagship. Muri's and his unit torpedoes failed to hit any Japanese ships, although they did shoot down one Mitsubishi A6M Zero fighter and killed two seamen aboard the Akagi with machine-gun fire. Following the attack, he and one other B-26 pilot were able to land their planes safely on Midway Island. and an inspection revealed more than 500 bullet holes in Muri's aircraft, the left tire had been shot off, and all propeller blades and every major system had been damaged. Muri was allowed to cut the plane's name from the fuselage to keep as a souvenir. Akagi was later attacked by carrier-based Douglas SBD Dauntlessdive bombers and set on fire. The carrier was later ordered to be scuttled by fleet commander Isoroku Yamamoto.
In 1962, Muri retired from active duty as a lieutenant colonel after serving 24 years in military service. He had accumulated more than 5,000 flight hours. He and wife Alice returned to Bridger Creek, Montana, in 1969 and later moved to Billings in 1999. His wife died in 2001. In 2003, Muri was awarded the James Doolittle Award. On February 3, 2013, Muri died of natural causes in Laurel at the age of 94. He was buried at the veterans' cemetery in Miles City. James had 7 grandchildren and 6 great grandchildren.