Chris Hoy and Laura Trott won their second gold medals of the London 2012 Olympics as Great Britain equalled their Beijing track cycle bounty of seven wins from 10 events - but there was no golden goodbye for Victoria Pendleton.

Hoy won the final event of the London track programme with a stunning triumph in the men's keirin, while Trott won the women's omnium as the duo became double gold medal winners in London.

But Pendleton was denied a final flourish as perennial rival Anna Meares of Australia claimed sprint gold with a dramatic 2-0 win over the Briton.

Hoy was the overwhelming favourite and he duly delivered when he powered to an impressive win in the keirin, clinching his sixth Olympic gold medal to ensure Britain matched their Beijing record of seven track titles on Tuesday.

Hoy, who has six golds and one Games silver to his name, produced his effort two laps from the finish, as usual, and although he was pushed to the limit by silver medallist Maximilian Levy of Germany, crossed the line in front.

"There have been some really difficult moments and to get through them all, after 16 years, it's just one of the greatest feelings I've ever had," said Hoy, who is expected to retire after the 2014 Commonwealth Games.

New Zealand's Simon van Velthooven and Dutchman Teun Mulder both took bronze after a photo finish could not separate them.

Trott claimed her second gold of the Olympics with victory in the women's track cycling omnium, pipping Sarah Hammer of the United States to the title in a thrilling time-trial finale.

Hammer and Trott had been on level points at the end of the first day, with the 20-year-old Briton leading the overall standings thanks to her flying lap win.

But the American edged ahead with a scorching pursuit victory on Tuesday, before finishing a place ahead of Trott in the 10 kilometre scratch race to widen her overall lead to two points with only the time-trial to go.

Trott's win in the 500m time trial put her one point ahead of the American to snatch the gold.

Australia's Annette Edmondson, who won the scratch race, took the bronze.

It was written in the script that Pendleton would meet Meares in the sprint final, a repeat of the 2008 gold medal showdown won by the Briton, and there were tears and drama, but there was ultimately no third Olympic gold for the retiring 31-year-old.

Pendleton was relegated by officials for leaving the sprinting lane in the first bout of the best-of-three contest.

Pendleton had to respond in the second bout to force a decider and Meares was in front first, watching her opponent.

Meares came to a near halt at the end of the first of three laps, forcing Pendleton to the front.

The Australian rounded Pendleton on the outside and the Briton could not respond as Meares celebrated before the line by punching the air.

It ended hopes of a fairytale conclusion to Pendleton's sensational career and saw Meares take revenge for Beijing.

China's Guo Shuang won bronze with a 2-0 defeat of Kristina Vogel of Germany.