an eventual 9–2 loss to Philadelphia, Ramírez hit Shane Victorino with a pitch, and a brawl started. Ramírez was subsequently ejected from the game. Afterwards, Philadelphia talk-show host Tony Bruno sparked controversy by posting on his Twitter account that Ramírez was an illegal alien, although he later removed the post. On September 4, Ramírez struck out four batters but gave up a run in innings in a 4–1 loss to the Diamondbacks. Two days later, he got his final save of the year when he threw a scoreless of an inning in a 6–4 victory over San Diego. In 66 games that season, Ramírez had a 3–3 record, a 2.62 ERA, four saves, 66 strikeouts, and innings pitched. New York Mets On December 7, the Giants traded Ramírez and Andrés Torres to the New York Mets for Ángel Pagán. Ramírez avoided arbitration with the Mets by signing a one-year, $2.65 million contract with them on January 17, 2012. San Francisco Giants (second stint) Ramírez signed a minor league contract with the Giants in 2013, but he was released on March 22 after posting an 11.25 ERA in spring training. He was re-signed and appeared in 6 games for the Giants before being designated for assignment. Tampa Bay Rays On July 1, 2013 Ramirez signed a minor league deal with the Tampa Bay Rays organization. Seattle Mariners On January 2, 2014, Ramirez signed a minor league deal with the Seattle Mariners. On April 29, he was released after allowing 5 runs in less than 5 innings in AAA. Baltimore Orioles On May 30, 2014, Ramirez signed a minor league deal with the Baltimore Orioles. On June 30, 2014, Ramirez made his Orioles debut in the ninth inning against the Texas Rangers, relieving Ubaldo Jiménez after pitching 8 innings only allowing 1 run pass. This was not a save opportunity since the Orioles were winning 7-1 in Baltimore. He allowed one walk and had two strikeouts. Ramírez had never met Orioles manager Buck Showalter before his debut with the Orioles. He was designated for assignment on July 6, 2014. Los Angeles Angels of Anaheim On December 13, 2015, Ramirez signed a minor league deal with the Angels. Tigres de Quintana Roo He became a free agent from the Tigres de Quintana Roo after the 2016 season. Sultanes de Monterrey On June 1, 2017, Ramirez signed with the Sultanes de Monterrey of the