The dog had escaped from his new home in San Francisco days after undergoing surgery and his adoption from an East Bay organization.