Exactly!. Take your profit and don't look back!
Not a very bright idea if you ask me. While it makes perfect sense in gambling (otherwise known as "roll and run"), with trading you are typically in for the long haul. It means reinvesting almost everything earned to unleash the full potential of compounding. Indeed, you may and in fact must switch between assets by selling overpriced and buying undervalued ones (known as "portfolio reshuffle"), but other than that, it is a never-ending game of making dough
And another key difference from gambling