Zafar Ansari's 83 not out guided Surrey to safety on the final day against Warwickshire at Edgbaston.
After being asked to follow-on the previous evening, Surrey batted throughout a final day during which 21 overs were lost to rain to advance from 38-0 to 202-3 in their second innings.
Ansari and Rory Burns extended their opening stand to 74 before Warwickshire seamer Boyd Rankin made the first breakthrough, bowling Burns for 42.
Spinner Jeetan Patel followed up by having Arun Harinath caught behind for a 28-ball duck.
And Patel also accounted for Zander de Bruyn (12) as Surrey were reduced to 113-3.
But Ansari, whose five-and-a-half hour innings used up 257 deliveries and included 12 fours, stood firm alongside Jason Roy (42no).
The fourth-wicket pair had put on 89 when stumps were pulled at 5.25pm.
Warwickshire have now been joined on 135 points by Nottinghamshire at the top of the Division One table but have a game in hand.
Rikki Clarke claimed 4-46 against his former county to help title-chasing Warwickshire force struggling Surrey to follow-on at Edgbaston.
The visitors ended day three in Birmingham on 38 without loss in their second innings having ealier been dismissed for 286.
Clarke returned his best bowling figures of the season so far, despite the pitch seemingly being good for batting, as the Bears boosted their hopes of being crowned Division One champions by claiming maximum bonus points.
Resuming on 109-1, Surrey's day suffered a disastrous start when Arun Harinath went for 44 to the second ball of the day, bowled by left-arm seamer Keith Barker.
The home side took two more wickets inside an hour during a rain-shortened morning and then four in the afternoon, with Clarke picking up three in 29 balls.
Chris Woakes, fresh off 11 not out in the Bears' massive first-innings total of 571, claimed 3-49, including getting rid of Zander de Bruyn and Jason Roy in the space of 14 deliveries.
Chris Woakes enhanced his England credentials as with a century to put Warwickshire in firm control against Surrey at Edgbaston.
The England Lions all-rounder struck an unbeaten 118 as the home side posted 571 in their first innings.
Woakes then starred with the ball, trapping Zafar Ansari lbw early in Surrey's reply before Rory Burns (53) and Arun Harinath (44) combined for an unbroken stand of 83 to guide Surrey to 109-1 at stumps on day two.
Warwickshire resumed in the morning on 322-6 and skipper Jim Troughton completed a 231-ball century before edging Murali Kartik behind to depart for 119 from the last ball before lunch.
Kartik (4-116) induced an edge from Keith Barker in his first over of the afternoon before Jeetan Patel and Woakes combined for a Warwickshire record ninth-wicket stand of 127 in 24 overs. Patel bludgeoned a six and 11 fours in his 76 from 82 deliveries, while Woakes hit 15 boundaries in his 201-ball effort.
Burns was dropped first ball by wicketkeeper Richard Johnson off Barker, but he made the most of his let-off to boost Surrey's hopes of reaching their follow-on target of 422.
An opening stand of 130 and skipper Jim Troughton's 74 not out allowed Division One leaders Warwickshire to reach 322-6 by stumps on day one of their match against Surrey at Edgbaston.
After Troughton won the toss and opted to bat first, openers Varun Chopra (60) and Ian Westwood (67) set the platform with half-centuries.
Both fell in the space of four overs in early afternoon but Troughton took up the baton for the remainder of the day, including a 98-run stand with Roger Johnson (49) for the fifth wicket.
Surrey paceman Stuart Meaker (2-50) struck twice late in the day to remove Johnson and Rikki Clarke (5) but Troughton, who has faced 172 balls and struck five fours so far, stood firm through to the close.
Warwickshire came into the match holding a one-point lead with a game in hand on Nottinghamshire at the top of Division One and looking to bounce back from their first defeat of the season against Somerset last time out.