He subsequently participated in the ensuing war with the Philippines. During that time he was in command of a squad of men that intercepted a Filipino boat carrying the wife of Filipino leader Emilio Aguinaldo. Upon realizing whom the captive was, Beach released Mrs. Aguinaldo in a gesture of Victorian gentlemanly manners. Several months later, Beach was in command of another squad of Blue Jackets searching ashore for the enemy when he was separated from his men and captured by Filipinos. When Emilio Aguinaldo learned the name of the captured naval officer he ordered Beach released, but not before the two met. They remained lifelong friends, corresponding on a regular basis.