While serving as a Seaman aboard the steam sloop-of-war on August 29, 1861, Swearer took part in the capture of Fort Clark at Hatteras Inlet, North Carolina. For his service during this action, known as the Battle of Hatteras Inlet Batteries, Swearer was awarded the Medal of Honor on April 3, 1863.