Yorkshire preserved their record of not having lost a Championship match at Headingley since the first game of the 2013 season when they held out comfortably for the draw against Warwickshire.
The visitors, a shade over-cautious after being in front for much of the time, did not risk a declaration until inviting the County Champions to make 352 off 68 overs.
Jeetan Patel’s off-spin was a constant danger but pace was generally ineffective at the other end and the teams called it a day at 221-4 with four overs remaining.
Yorkshire coach Jason Gillespie says his side would have chased harder given the right circumstances.
He said: “We would have gone pretty hard for ten overs after tea but to lose Cheteshwar Pujara and Andrew Gale in quick succession changed the situation and I thought that Jack Leaning and Andy Hodd were then outstanding in assessing the situation.”
“I am not criticising Warwickshire’s tactics but they had a safety first attitude and it was clear they wanted to try to bat us out of the game.
“We worked out their game plan on the third afternoon when they went at under three an over and that is what happened.
“I was very satisfied with how we played but there is still room for improvement.
“We could have been more consistent with the ball and we gave a couple of wickets away in the first innings but we still scored over 300, although I did not think we batted brilliantly to be honest, apart from Gale.”
Warwickshire were in a strong position at the start of the final day when they stood on 108 for two with an overall lead of 240 but there was never any indication that they would rush to a declaration. Even when wintry showers brought forward the lunch interval by half-an-hour they still did not feel that a lead of 302 was sufficient.
Westwood, 48 overnight, soon completed his 50 and he calmly battled on, moving ever closer to what would have been a remarkable achievement.
Had he added another century to the 196 he accumulated in the first innings he would have become the first batsman ever to score a century in each innings of any first class match on the Test ground.
The Yorkshire player to get nearest to it was Frank Lowson who made 91 and 144 against Northamptonshire in 1950.
But Westwood’s chance of a unique place in Headingley’s Hall of Fame ended on 84 when he perished lbw to off-spinner, James Middlebrook, for the second time in the game after facing 134 balls and hitting 11 fours and a six.
Middlebrook continued to cash in whenever an assault was launched and he finished with five for 82 and match figures of eight for 178, a commendable effort for a player brought back to his native county specifically to fill in while Adil Rashid is in the Caribbean.
If the declaration at 219-7 was hardly generous, it did not stop Yorkshire from attempting a positive start and Alex Lees and Will Rhodes put on 48 inside 13 overs before Lees was caught behind by Peter McKay off Lees.
Yorkshire’s top order continued to get set and then get out, Rhodes and Cheteshwar Pujara departing lbw to Patel who turned the screw further by beating Andrew Gale with an excellent ball which found the edge for McKay to pouch again.
Patel’s three wickets placed Yorkshire under real pressure at 136 for four with 32 overs remaining and although Jack Leaning and Andy Hodd prevented a slide the situation would have worsened again if Varun Chopra had held on at short leg when Leaning pushed at Patel at 173 in the 48th over.
Now it was simply a case of sensible application and holding one’s nerve, which both batsmen managed despite Patel crowding the bat in the cool evening sunshine, Hodd just having time to register his 50 from 92 balls with five fours.