On board the flagship U.S.S. Hartford during action against rebel gunboats, the ram Tennessee, and Fort Morgan in Mobile Bay, 5 August 1864. Wounded and taken below to the surgeon when a shell burst between the two forward 9_inch guns, killing and wounding 15 men, Melville promptly returned to his gun on the deck and, although scarcely able to stand, refused to go below and continued to man his post throughout the remainder of the action resulting in the capture of the rebel ram Tennessee.