Tom and Jerry in Shiver Me Whiskers (2006)
Tom and Jerry are on a pirate ship. Tom sees a map that's floating on water. A ghost warns Tom that if the map is removed from the sea, a curse will fall on the ship. Tom gives the map to the captain anyway without mentioning the curse.