Presumably the withdrawing investor also gets the fund's cost basis in the stock, so they'll be on the hook for the fund's capital gains themselves when they sell the stock. (The article didn't explicitly mention it, nor does the relevant statute https://www.law.cornell.edu/uscode/text/26/852#b_6, but that's the standard way that stock transfers work.)