Next, you can remove the end of the thermocouple that is next to the pilot. Locate the pilot housing that holds this end of the thermocouple. Pull the copper tube straight out of the pilot housing.
This can sometimes be tough to remove. You may have to use a some force but pull it straight out.