Ortiz gave former Yankees pitcher Mariano Rivera a hug.