<prompt> Human: Hi! A few years ago I put 30k in a Vanguard mutual fund, as of now its only gone up about 500. I realized that it would be more cost effective to close the fund and put that money towards my mortgage since I pay about 200 a month of interest on that and my goal is to just get rid of my mortgage entirely this year. So, my question is if I close the fund now am I going to be taxed on the whole 30k or just the 500? Thanks for your help!  <response>: Just the capital gains 