Princess Scallywag and the no-good pirates by Mark Sperring

Ill. by Claire Powell. HarperCollins, 2019. ISBN 9780008212995.
Princess Scallywag and the Queen are out on the royal yacht enjoying
the fresh air when they are invaded by three stinky, sweaty, no-good
pirates waving their swords and determined to take them prisoner.
But three stinky, sweaty, no-good pirates are no match for the
quick-thinking Queen and the persnickety princess, although it is
touch-and-go for a while as they desperately try to save themselves
from being made galley slaves, scrubbing the decks and walking the
plank!
A sequel to Princess
Scallywag
and the brave, brave knight, this is a bold adventure story
for those who like their princesses feisty, clever, and subversive.
Barbara Braxton