Methods and apparatus are provided for temporarily occluding a body opening. A method in accordance with one or more embodiments of the invention includes introducing a tip of a catheter into the body opening, the tip including a central longitudinal axis expelling a thermosensitive polymer from the tip of the catheter into a portion of the body opening, allowing the thermosensitive polymer to harden as it warms to body temperature to form a plug in the body lumen, and removing the plug.