An endoscopic cryoablation apparatus for the ablation of unwanted tissues is disclosed. A method of utilizing the apparatus for ablating pancreatic cancer, gastrointestinal cancers, or other undesired tissue is also incorporated. The apparatus provides a cryoprobe needle tip covered by an outer sheath at a distal end of a catheter shaft such that the distal end includes a defined ablation zone. As implemented, the cryocatheter can be utilized alone or in combination with and endoscopic ultrasound. A moveable handle attached to the outer sheath is configured such that the handle retracts and protracts the outer sheath to expose and cover, respectively, the cryoprobe needle tip.