Removing the terminal