There was no fairy tale ending for Nicol David in her final PSA World Championships appearance after losing to Serme Camille in the third round on Tuesday.

The eight-time world squash champion, who announced her retirement last week, lost 1-3 (11-9, 4-11, 4-11, 5-11) to the world number five.

She had overcome Menna Nasser and Millie Tomlinson in the first two rounds to reach the third round.

"It's been so great to be part of this major event," David told the PSA's official website after the game.

"It’s our first $1 million event and I got a chance to play in it, which is great.

"Squash has come a long way, so to get this far is a thrill for me. With my last Worlds I gave it my all and I’ll take whatever I got and I really enjoyed my match today."

As for Camille, it was a strange experience to beat David, which was only her third win in 19 meetings against the Malaysian squash queen.

"She beat me so many times and of course she is a legend and it’s an honour to be her last match at the World Championships.

"She’s such a fighter, even in the last game, I was 6-0 up, I had really good length and she came out firing and I thought she could come back, so I had to push really hard," she said.