With the game tied at 2, Wright led off the inning by hitting a ground ball up the middle that Royals second baseman Miguel Tejada fielded. Tejada threw the ball high over first baseman Eric Hosmer's head, which allowed Wright to reach safely.
But as he crossed first base, Wright started limping. Collins and a trainer immediately came out to attend to him, and Wright left the game. Zack Wheeler pinch-ran for him.
"He just wanted to get extended to help us try to win a baseball game," Collins said. "That's what he's all about."
Wright has been nursing a sore hamstring. In the ninth inning against Miami on Wednesday, Wright stole second base but immediately clutched his right leg. He received treatment after the Mets' 3-2 loss to the Marlins.
He also experienced a tight hamstring during the Mets' series in Washington last weekend, but Collins said it was due to heat and dehydration.
Wright went 2-for-5 with a two-run homer in Friday's game.
Chris Iseman is an associate reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.