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."
2 August 2015Longford edges Galway thriller
Impact too strong at Chester
Fitz foiled on comeback
Baraweez in Galway repeat
McCullagh 'on the mend'
Amazing summer continues for Maria
Dream week continues for Martin
Intilaaq camp on weather watch
Basem to step up in grade
Panama has American dream
Cyclone could stick to hurdling
Now Or Never excites O'Callaghan
Mini-break good for Horn - Gosden
Hobbs considered for Newbury trial
Ervedya tackles Rothschild test
Mullins dominates Galway feature
Harty looking forward to a good Day
'Overwhelmed' Hughes bows out
Legatissimo stamps class on Nassau
Magical Dettori top gun at Goodwood
Dart hits Goodwood bullseye
Fantastic Frankie takes right Steps
Latharnach could drop back in trip
McNamara eager for training career
1 August 2015Rebel returns at Galway
No fairytale ending for Hughes
Stewards' glory for Magical Dettori
Legatissimo proves Nassau queen
Times targets Stewards' consolation
Hughes reflects on a golden career
Warrior books Ebor ticket
Muthmir makes amends
Hughes at his best on Bay
Mile proves golden for Beloved
Malabar stamps her class
Dettori guides Dubday to landmark
Charlton so Close to historic win
Diamonds ready to sparkle in Nassau
31 July 2015Pacy Muthmir rules in King George
Breizh bids for Galway glory
Pharoah Phan Phestival good to go
Jack's the lad in Galway Hurdle
Gosden salutes 'magical' Sir Peter
Laviniad gets up late in Corrib
Simple for Beckett and Bentley
Orange pips Goodwood rivals
Shalaa dazzles in Richmond
Relief for Hughes as Gibeon strikes
Cover up for Goodwood defence
30 July 2015Clown gets serious at Galway
Eddery aiming for Mile high
Fox finale for Hughes
Ivory unveils strong Stewards' team
Treacy sent for scans
Stars on show in Nassau
Lynam 'proud' of Sir Peter alliance
Tributes pour in for O'Sullevan
It's Shanahan's turn at Galway
Sir Peter O'Sullevan dies, aged 97
Kachy not for catching in Molecomb
No Sussex regrets for O'Brien
Solow flying high at Goodwood
Highland reels in Gordon rivals
Shalaa in top trim for Richmond
Dunlop excited by Trip to Goodwood