The Idea Factory - The Pirate Princess
A princess is arranged to be married to a prince of a neighboring kingdom, despite never having met the man. She tries to escape from the wedding, hiding out in a closet on a ship. The ship belongs to pirates that have been tasked to kidnap her, but when she wasn't anywhere to be found at the ceremony, they left, thinking themselves empty-handed. A girl that works on the ship (possibly a pirate or the daughter of the pirate leader) finds the princess and keeps her hidden at first. When the pirates head to the person that hired them, they think them successful, despite most of the pirates still thinking they failed.