Served as captain of the forecastle on board the U.S.S. Kearsarge when she destroyed the Alabama off Cherbourg, France, 19 June 1864. Acting as captain of a gun during the bitter engagement, Haley exhibited marked coolness and good conduct and was highly commended by his division officer for his gallantry and meritorious achievement under enemy fire.