I've had the opposite happen! Early in my career, being brought on as a low-paid frontend developer, only to be stuck as de facto CTO on a spin-off company. Infra, development, hiring, travel, the whole bag.
Still accepting advice on how to negotiate a 100% raise.
Still accepting advice on how to negotiate a 100% raise.