Finish quit command