A gas leak in Baden prompted evacuations but was contained with residents allowed to return after safety measures.