remove an investment

I had some funds in the portfolio from a redemption. So I created an investment called "cash" to show these funds. I've now reinvested the funds but the investment file is creating all manner of problems. I'd just like to remove the investment and its effects on the portfolio performance reports. I tried to delete the file cash.dat but that didn't work.