Stationed at the wheel on board the flagship U.S.S. Hartford during successful action against Fort Morgan, rebel gunboats and the ram Tennessee in Mobile Bay, on 5 August 1864. With his ship under terrific enemy shellfire, McFarland performed his duties with skill and courage and, when the Lackawanna ran into his ship and every man at the wheel was in danger of being crushed, remained steadfast at his station and continued to steer the ship.