You did fine helping and checking on H when he was sick.
Yes, I can understand you feeling like you made a mistake in detaching. I assure you, you didn’t.
Detachment takes time to find and time to get used to. It’s just your feelings that are being questioned; you behaved detached. Remember detachment is when one’s feelings do not get dragged around by the antics or behaviour of their spouse. You are/were there - not uncontrollably dragged along.
Checking in on a sick person is fine. It is a compassionate thing to do. And like peace said, just don’t mother him, he needs to look after himself. Just like a teenager wants and needs too. Kind of ignoring, in a caring way.
H will surface and retreat as he walks his path. Keep moving forward.
DnJ
Feelings are fleeting. Be better, not bitter. Love the person, forgive the sin.