For one day, the Yankees–Red Sox rivalry was set aside to honor a courageous battle far from the field.