There is no "Switch Star" in Jolly Roger Bay in Super Mario 64 DS. The course has 8 standard Stars (7 mission Stars + 1 100-Coin Star), same as the N64 original.
That course has a Switch Star (Star 3: "Inside the Submarine" / "Through the Jet Stream" equivalent) where you must hit 3 switches (⬜️) to open the submarine hatch. It's a common confusion—both are water-themed, early-game courses with submarines/ships.
Check your star select screen in Jolly Roger Bay—it lists exactly 8. If you're missing one, it's likely the 100-Coin or Red Coins.