Eluding catastrophic shifts