You are able to withdraw funds from your TFSA anytime and for any purpose without incurring tax, though restrictions may apply depending on the investments that are held in your TFSA.
Any funds withdrawn will not affect your eligibility for federal income tested benefits such as Old Age Supplement, Canada Child Tax Benefit or Guaranteed Income Supplement.