The Ralph Beckett-trained Cubanita collared Sajjhaa in the dying strides to claim the Betfred EBF Gillies Fillies' Stakes at Doncaster.
Dropping from Group One to Listed level, Godolphin's highly-rated Sajjhaa was sent off the 7-4 favourite and looked to have sealed it when Mickael Barzalona swept to the front approaching the two-furlong pole.
But her stride was shortening just as Cubanita's abundant stamina was kicking in entering the distance, and Jim Crowley's mount (8-1) was half a length to the good as they flashed past the line.
The lightly-raced maiden winner Reckoning ran on encouragingly to fill the places under champion jockey Richard Hughes.
Crowley said: "It's been stop-start with her this season so hopefully she'll stay in training next year, fingers crossed. I got a good trip round. They went a good gallop and everything went well in the end. I think she'll get a mile and a half. The last furlong was her best furlong."
Godolphin clinched the owners' championship with a double through Mar Mar and Muharrib, both trained by Saeed bin Suroor.
Mar Mar (7-2) showed a neat turn of foot two furlongs out to easily win the Betfred Cock O'The North EBF Maiden Stakes by four lengths under William Buick.
"She's a very honest filly, but she was a bit unsettled and keen last time, so we thought visors would help. She'll be a nice seven-furlong filly for next year," said Godolphin's representative Diana Cooper.
Muharrib (5-1) led over a furlong out under Barzalona to defy top weight in the Betfred 'The Home Of Goals Galore' Nursery.
Cooper said: "He's a very bonny horse who has thrived all season. He'll have a nice holiday now and he's one to look forward to. He's very honest and game and gives his all every time."
5 July 2015Another German Derby for Schiergen
No luck for Geraghty on return
Geraghty unplaced on return
Arc considered for Horn swansong
Tonto earmarked for York date
Pace set for July Stakes
Dods: Angel can embrace joy of six
Kurland set for Newmarket return
Galway beckons for 'improving' Wood
Mountain set for trip descent
Outstanding third in Belmont Oaks
No joy for Postulation in USA
Golden shines in Eclipse victory
Eye sees off Marathon rivals
Blond shows her true colours
Notarised lands Newton prize
Basem proves up to Challenge
Tiana takes Oaks triumph
Waady leads the Charge
Cymro claims Haydock honours
Maria added to Falmouth field
4 July 2015Horn calls the tune in Eclipse
Tiana takes Oaks triumph
Flash fires home
Majestic vies for Fairyhouse rule
Geraghty back in business
Walsh indebted to king Kauto
Angel confirmed Sandown non-runner
Doyle and Johnston shine at Sandown
Johnson scorches to fastest fifty
Windshear up for the Cup
Muhaarar in great form - Hills
Chantilly off the radar for Test
Gatsby sets sights on Horn
Queen aiming to reign in Oaks
Gosden respects Golden rivals
3 July 2015Cyclone set for Leopardstown outing
Waady aiming to step up
Angel major Sandown doubt
Strong Gosden hand at Newmarket
Doyle up for the Challenge
Sandown team mull watering plans
Kazeem on comeback trail
Lennox option for Limato
Magnificent seven for Elliott
Pendleton thrilled with first ride
Balding hoping for Park August run
Kirby unscathed in house fire
Pilot charters path to York
Provenance has claims on Sandown
Soapy out to slay Dragon rivals
Spencer rides Gatsby in Eclipse
Space considered for Ascot return
2 July 2015Creighton discharged from hospital
Postulation checks in at Belmont
Charming thoughts turn to Doncaster
Deauville date for Diamond
Mecca's takes Thirsk honours
Dods waits on Angel decision
Soumillon takes Certain ride
Mile on Spear radar
September aim for Tryster
Cup aim for Arab
Time out for Hannon aces
Close encounter excites Doyle
Island to drop in grade