Alex Barrow hit a career-best 83 not out to ensure Somerset a draw on the final day of their LV= County Championship Division One clash with Durham at Taunton.
The struggling home side, who have not won in the competition this season, looked in trouble at 135 for five - a lead of just 100 - in the afternoon session.
But Barrow added 83 for the sixth wicket with Peter Trego, who hit 38, and went on to eclipse his previous best first-class score of 69, made against Yorkshire at Headingley in 2011.
The 21-year-old was unbeaten when the teams shook hands at 4:50pm with Somerset on 266 for eight. Both sides took nine points from a game in which a flat pitch had the final say.
The hosts began the last day on seven without loss, trailing by 28. Marcus Trescothick and Nick Compton took the score to 43 before the latter lifted a catch to fine-leg off Mark Wood on 18.
Trescothick, on 25, dragged onto his stumps trying to sweep Scott Borthwick and Arul Suppiah was caught at silly mid-on by Borthwick off Ryan Buckley for 19.
Durham must have scented an unlikely victory when James Hildreth was picked up at slip by Will Smith off Borthwick for a single.
But Dean Elgar helped Barrow steady things, contributing 31 to a stand of 56 before fencing at a short ball from Wood and edging to Borthwick at second slip.
Trego used his experience to further dampen Durham hopes and by the time the all-rounder was lbw to Ben Stokes, Somerset had reached 218 for six and led by 183.
Still Durham kept chipping away and Craig Meschede was caught behind trying to leave a delivery from Graham Onions, who then bowled George Dockrell.
His valiant efforts ultimately proved in vain, however, as Somerset avoided defeat.