I was actively recruited out of my last company. I was the last person engineering in the company but not the last engineer. Over a dozen other people had left by the time I did. The management was somewhat dysfunctional the whole time; but somewhat functional. We were always a subsidiary of a larger start-up which is still in business. Even thought they wanted it to be a unicorn worth billions it has been valued at 100 million for over five years now. They tried several times to hire me into the first company but the management disfunction there was very similar. Most importantly the company hired a replacement and is still profitable, with its existing customers. I just needed a change and I didn't do the hard work of finding a job until I was actively recruited. Once I received a job offer I was countered at the exact same level (not better though!). It seems that I myself had gone stagnant. I like the advice from others, don't be a person at a small startup who doesn't own part of the company. Just don't.