recognize shutdown command