Trent Grisham left the Yankees’ game against the Padres because of discomfort in his right hamstring.