In May 1862 Murray commanded a combined Army-Navy operation on Virginia's York and Pamunkey Rivers, destroying twenty-seven enemy vessels, including two large steamers, and approaching to within 11 miles of Richmond, the capital of the Confederacy.