I would say most small engineering teams have that risk
I was talking to my co-worker who was still there. He was afraid to leave since he’s now the only one left. I told him who cares the company wouldn’t care about you and our skills are marketable at the moment.
Don’t let guilt keep you underemployed or employed at a shitty place. Level up and move on.
This is how our modern system works and I wish more people would see it this way because the corp see you (and everyone) as disposable.