This is how Cody, Ahsoka, Sabine, Jango, and Rex get stuck on Haunted Isle goes in Star Wars: Hassle in the Castle.
[The episode begins on Haunted Isle]
[We see a phantom using a telescope to spot the team]
Ahsoka Tano: Whoa, you sure picked a spooky night to go boating Cody.
Commander Cody: Well, it didn't start out that way. What could've happened?
Sabine Wren: It's very simple. When
Commander Cody: You're right, Sabine. Whatever you said.
Sabine Wren: I said, we're lost in a fog.
[Jango Fett comes up from the cabin]
Jango Fett: You buzzed?
Sabine Wren: No, Jango. Go back to sleep.
Jango Fett: Sleep nothing. I'm fixing me a super sandwich.
[Jango Fett goes back inside to the cabin]
[Captain Rex licks his lips]
Jango Fett: Ah, just wait till I made this sandwich.
[Captain Rex eats the sandwich]
Jango Fett: Well, at least you left me the olive.
[Captain Rex eats the olive]
Jango Fett: Whenever around, I can't get a bite.
[Then they heard a crush]
[They noticed that they're stuck on Haunted Isle]
Ahsoka Tano: Now what happened?
Commander Cody: Looks like we run aground.
Jango Fett: Yeah, but like where?
Sabine Wren: Well, if I'm not mistaken, it looks like we're stuck on Haunted Isle.
Jangl Fett: I'm sorry I asked.
Commander Cody: The old Vasquez Castle's on this island. Maybe we can find help there.
[The team sets off to the Vasquez Castle]
Ahsoka Tano: What a creepy place.
Jango Fett: Yeah. A regular gruesome camp.
[Captain Rex searches over the sand]
[He finds a map which has a sign on it]
[The map starts moving and landed right on a crab]
[Captain Rex lifts the map off the crab and the crab pinches his nose]
[Captain Rex jumps and runs off to the others]
Jango Fett: Like what's with Rex?
[Captain Rex screeches to a halt]
[Captain Rex's screeching causes his friends to be stuck in the sand]
Commander Cody: Hey, if you wanna play in the sand, Rex, leave us out of it.
Commander Cody: Hey what's this? It's a torn piece of map.