The story goes like this:
- Evil spaceship captain strands colonists on alien planet.
- Colonists survive by consuming a native plant that incidentally gives them a superpower.
- Evil captain returns to the planet and colonists use superpower to gain control of said captain's spaceship.
I thought it might be a Frederik Pohl story but after some digging appears not to be.