Great Britain reached the Davis Cup quarter-finals after Canada's 17-year-old Denis Shapovalov was defaulted from the decisive match for hitting the umpire with a ball struck in anger.
Kyle Edmund had just broken serve to lead 6-3 6-4 2-1 when frustration got the better of Shapovalov.
A default followed, giving Britain a 3-2 victory in the World Group first-round tie in Ottawa.
Britain go on to face France away in the quarter-finals in April.
- Watch highlights on BBC Two at 23:15 GMT on Sunday
"It was a strange way to finish," said Edmund.