To prepare the super-Tonks–Girardeau phase it is necessary to increase the repulsive interaction strength all the way through the Tonks–Girardeau regime up to infinity. Sudden switching from infinitely strong repulsive to infinitely attractive interactions stabilizes the gas against collapse and connects the ground state of the Tonks gas to the excited state of the super-Tonks gas.