With kindness, nobody knows how they will react in that scenario. My son was 19 days old when an issue was discovered he needed surgery and things were very hairy for a few weeks.
He was in hospital for three weeks. I didn't leave him with his dad and brother for more than ten minutes at a time to shower, eat, etc. I was petrified he wouldn't hear my voice to calm him as he was in considerable pain.
There were other children in the ward in similar situations, some unaccompanied. Their parents just couldn't deal with it. There is no support ten years ago so I hate to think what it was like 40 years ago.
I had to get therapy to deal with it, it never left my mind fir a very long time. He thankfully is an amazing healthy gorgeous ten year old who can charm the birds off the trees. He thankfully will never have memory of it.
This may be hard to hear but I know parents who love their children as much as I love mine who simply could not be there. Don't mistake that inability for anything to do with lack of love.
And do talk to a professional, it really helped me figure out where my feelings were coming from and most importantly how to move forward with them. Mind yourself.