Seth Allen broke a tie by making two free throws with 2.8 seconds left, and Maryland stunned No. 2 Duke 83-81 Saturday night to end a six-game skid against its bitter rival.