Brayan Padilla's tying attempt hit the post, and the Wildcats knocked the Terps out in the Big Ten quarterfinals.
The Terps begin play as the No. 2 seed on Thursday.
The Terps' keeper registered four saves and came up clutch in penalties.
Mike Heitzmann's strike helped the Terps walk off the Scarlet Knights with a 5-4 edge in penalties.
The Terps start their Big Ten tournament run with a rematch against Rutgers on Saturday afternoon.
The Terps fell 3-1 in their first matchup with the Buckeyes back on March 4.
The Terps won 104-84 over Iowa after reaching their seventh championship game in a row.
The Terps scored the most points in the title game's history.
Maryland is looking to win its fifth Big Ten Tournament title.
Wolverines coach Juwan Howard was ejected from Friday’s game, while Terps coach Mark Turgeon was given a technical foul for their altercation.