 Gabb contracted a virulent form of malaria in Costa Rica.He returned to Philadelphia in 1876 and then traveled again to Santo Domingo with the intention of developing a promising mining claim.However, his declining health forced him back to Philadelphia, where he died on May 30, 1878.