When it comes to my family, there is no such thing as “visiting hours”.
Nurses attempted to kick me out because “visitors hours were over”. They never did, although I understood they have their job to do. They understood that I also had an obligation to my wife, and never brought it up again.
My son and daughter-in-law are both nurses. Niether of them will leave a family member alone in a hospital and that is in the US. At least here, they can’t boot you out, although they can try. Truthfully, if you behave yourself, most hospital staff seem happy enough to have family to help out.