Parse the ACTION and QUIT command