Shafter relied on his friend Dr. George E. Goodfellow's excellent knowledge of Spanish to help negotiate the final surrender after the Battle of San Juan Hill.
On July 16, after both governments agreed to the terms of capitulation ("surrender" was avoided), in which Toral surrendered his garrison and all troops in the Division of Santiago, an additional 9,000 soldiers [REF].