Python Upgrade Command Cmd Shutdown