Panic mode cleanup