Implement SHUTDOWN command