Added EndShell command and changed capitalisation of EndCLI command to match