 From May 1943 to September 1945, James commanded the Sixth Naval District, headquartered at Charleston Navy Yard, Charleston, South Carolina.In 1945 James received his final assignment, commander of United States Naval Forces, Mediterranean (now redesignated the U.S. Sixth Fleet) where he served until retiring from active duty in 1946.In addition to being a serving officer, James was an inventor and songwriter.