England were given a scare before the second Test against South Africa ended in a draw on the fifth and final day at Newlands on Wednesday.
On what had been expected to be a low-key day after high scoring in the first innings, England lost six second innings wickets by mid-afternoon, when they held a precarious lead of 118.
Jonny Bairstow and Moeen Ali negotiated the rest of the afternoon and England were on 159 for six when play was called off for bad light 15 minutes after tea and abandoned 45 minutes later.
England will take a one-lead into the third Test of the four-match series, starting in Johannesburg on January 14 but South Africa will take heart from a strong fightback with both bat and ball after taking a battering in England's first innings.
Inspired by Ben Stokes' 258, England made 629 for six declared but South Africa batted solidly to reply with 627 declared, led by captain Hashim Amla's 201.
The flurry of wickets on Wednesday was in complete contrast to the first four days when both teams scored more than 600 runs in their first innings and 1272 runs were scored for the loss of only 13 wickets.
After four days of unrelenting sunshine, the sky was partly overcast on Wednesday.
The fast bowlers, led by Morne Morkel, gained some movement, while off-spinner Dane Piedt obtained some turn from a pitch which had previously offered no assistance to the bowlers.
Piedt was the most successful bowler, taking three for 38.
Alastair Cook and Alex Hales fell within the first three overs of the day, both without adding to their overnight scores of eight and five respectively, while Joe Root was bowled just before the mid-morning drinks break. Nick Compton fell shortly before lunch.
Cook, who has scored only 42 runs in four innings during the series, was caught down the leg side by wicketkeeper Quinton de Kock off Kagiso Rabada and Hales fell to an outstanding catch by Chris Morris at third slip, diving low to his right, off Morne Morkel.
Root made 29 off 29 balls before he was bowled by Morris' first ball of the innings, a full delivery which swung late to take out his off stump.
Root had an escape on 17 when he edged a catch to AB de Villiers at second slip off Morkel, only for a television review to show it was a no-ball.
Compton dug in and played a solid defensive innings in making 15 off 60 balls. It came as a surprise when he went on the drive against a full delivery from off-spinner Dane Piedt and hit a catch to Faf du Plessis at a short mid-on position.
England seemed to be heading to safety after lunch as Taylor and Stokes added 30 for the fifth wicket, with Stokes following up his first innings of 258 with some more solidly-hit strokes.
But he went for a big hit against Piedt and was caught by Morkel on the midwicket boundary for 26.
Taylor followed in Piedt's next over, gloving a catch to Temba Bavuma at short leg after making 27. At 116 for six, less than midway through the day, England were in trouble when Bairstow and Ali came together.