Imagine that you're on a train, headed to some place west of where you started. At some point, you realize that you're 300 kilometers west of your starting point. How do you collect those 300 kilometers while still being a train passenger?
Well... you don't. It doesn't work that way. The question doesn't make sense.
If you think that the train is headed where you want to go, you stay on the train. If you want to stay where you are, or you want to visit the shops, you get off the train. If you want to go in a different direction, you get off and board a different train.
There's no need to "collect" the kilometers that you've traveled; that's a totally meaningless concept. (You can convert your "kilometers traveled on the train" into "kilometers traveled on the ground" by briefly getting off the train, but that would accomplish absolutely nothing whatsoever.) And the only reason you would ever want to "still be a train passenger" is because there's a train that's going where you want to go.
Investing is exactly the same way. Everything I said about train travel, I can also say about investing, sentence for sentence. Watch:
Imagine that you have some stock, and you're hoping to grow your wealth. At some point, you realize that the stock is worth 25% more than it was when you bought it. How do you collect that 25% profit while still being invested?
Well... you don't. It doesn't work that way. The question doesn't make sense.
If you think that the stock is still a good investment, you keep your money in it. If you want to just preserve your wealth, or you want to spend your money, you sell the stock. If you think there's a different stock that's a better investment, you sell your stock and buy that stock.
There's no need to "collect" the unrealized gains that you have; that's a totally meaningless concept. (You can convert your "unrealized gains" into "realized gains" by briefly selling your stock, but that would accomplish absolutely nothing whatsoever.) And the only reason you would ever want to "still be invested" is because there's a stock that you think will go where you want to go.
In short, if you want to go where the train is going to go, stay on board, and if you don't, get off.
I've read all the comments you've posted on this page and I think this answer addresses all of them. Let me know if there's something you'd still like to know.