Ennis penal moon

Gamma Quadrant moon of endless war

A Gamma Quadrant moon used as a prison for two feuding factions, the Ennis and the Nol-Ennis, who are condemned to fight, die and be revived there for ever.

The penal moon is the setting of Battle Lines. It lies in the Gamma Quadrant and is ringed by a network of artificial satellites that shoot down the runabout Yangtzee Kiang when Sisko, Kira and Bashir take Kai Opaka through the wormhole.
The moon's inhabitants, the Ennis and the Nol-Ennis, were exiled there generations earlier because their leaders could not end their feud. As punishment, artificial microbes in the environment restore anyone who dies, so the fighting can never be finished. Opaka is killed in the crash and revived in the same way.
Bashir learns that the microbes only work on the moon, so no one who has died there can ever leave. Opaka chooses to remain and try to teach the prisoners peace.