still have a child active?

Hello. When you are deactivating a gameobject, is there a way to still have a specific child not deactivate(but have the parent and the rest of the object deactivate)?

You could deactivate the parent then activate the child alone