It was almost déjà vu for the Maryland baseball team in its game against Minnesota on Sunday.

After blowing a 3-0 lead Friday in a loss to the Golden Gophers, the Terps lost a late lead again Sunday in the rubber match.

Right-hander Mike Shawaryn began Sunday by throwing six scoreless innings as the Terps held a 4-0 lead. But just like right-hander Taylor Bloom did Friday, Shawaryn faltered in the late innings.

He surrendered three runs in the seventh before the bullpen allowed three more the following inning as the Terps fell to Minnesota, 6-4, to drop the series.

Shawaryn, the Terps’ ace last season, holds the worst ERA of the Terps’ weekend rotation. After getting moved from the Friday slot to the Sunday last weekend, he said he regained his confidence on the mound and began throwing better.

That was on display through the first six innings, but once he got into trouble, he struggled to minimize the damage. And then in the eighth, right-hander Hunter Parsons and left-hander Tayler Stiles, usual midweek starters, allowed the Golden Gophers (21-11, 6-2) to take control.

The offense supported Shawaryn early on, though. For the third straight game, Maryland (19-17, 5-4) got out to a lead in the second inning.

Right fielder Anthony Papio hit an RBI triple before third baseman Andrew Bechtold drove him in with a ground out.

And the Terps extended their lead in the third when first baseman Kevin Biondic hit his fifth home run of the season to extend Maryland’s lead to 4-0.

Golden Gophers right-hander Toby Anderson overcame his early struggles to not allow another baserunner until he exited in the seventh. Still, the Terps held the four-run edge entering the frame.

But Shawaryn faltered in the bottom of the seventh, and Minnesota took advantage with three runs. Shawaryn struck out right fielder Alex Boxwell, but catcher Nick Cieri couldn’t stop the wild pitch as two runners scored. Two batters later, center fielder Dan Motl hit an RBI double. Left-hander Robert Galligan, who Szefc said is great at minimizing damage, took over for Shawaryn and got the final out.

And in the eighth, Parsons allowed a runner on before Stiles failed to record an out as three Golden Gophers scored to clinch the victory.