Star Trek: The Next Generation: Season 3, Episode 18
Picard is kidnapped and held with three different aliens and meanwhile replaced with a replica as impostor captain.