finish gt command.