© Getty Images
El Tri took the lead in the 32nd minute as Carlos Vela lifted a cross to the back post for Aguilar, who made no mistake this time in dispatching the ball past Phillip.
In the second half, Mexico doubled their advantage when Vela got on the scoresheet when he was released by Andres Guardado and beat Marshall with a swift piece of skill before rifling the ball into the net with the aid of the post.
Vela had the chance to restore his side's two-goal advantage when he was played through one on one with Phillip, but he curled his effort past the post from close range.
Stephen Hart's side took the lead minutes later when Cummings netted his second goal of the game out of nothing as he volleyed the ball first time from a tight angle from the edge of the box, and his shot soared past Ochoa into the top corner.
Mexico pressed to get back into the game, needing two goals to reach the top of Group C. Guardado gave them hope late in the match when he raided forward, and despite taking a poor first touch on the edge of the box, he made up for it with his second as he powered a swerving volley past Phillip.
Herrara's side pushed forward in numbers looking for the crucial goal, and were rewarded for their pressure when Layun's cross into the box was turned into his own net by Jones in the 90th minute.
However, there was one final twist to the tale when Joevin Jones lifted a corner into the box with the final act of the match, and Marshall met the ball with a powerful header which found the bottom corner to earn Trinidad the point.
As a result of topping Group C, Trinidad will face Panama in the quarter-finals of the competition, while Mexico will face Costa Rica.