BESS emergency shutdown