I notice that you mention that your baby was returned to you two hours later (as above here). You also mention breastfeeding. I assume you were nursing and if that is the case it is perfectly natural for the baby to want to eat every two hours. Obviously, the baby wouod have come back out to you in a couple of hours.
Would you not maybe get only 2 1/2 hours of sleep at home with your new infant?
While I am all for new mothers getting rest, the hospital stay is also so that Mom learns to care for her new infant and respond to the baby's cues. That cannot happen if the baby is sitting in a nursery.
We always respect a mother's wishes and help out as much as possible. We usually take babies under phototherapy to the nursery at night so that Mom can sleep and not have the bili lights bother her (not to mention we have to know that the baby's eye shield is on corectly). but during the waking hours, the baby stays with Mom as much as possible. We show her how to take baby in and out,etc., and are always available to help with questions or problems.
However, when nurses take babies to nurseries under the guise of letting Mom rest, we are doing her no favors, whatsoever. When Mom goes home, the nurses are not going with her and the reality is that she will indeed, be on duty 24/7. The more familiar she is with her infant, the better.
If she is breastfeeding, she will be feeding that baby every 1-3 hours anyway. The more that baby is withher in the hospital, the easier her adjustment will be at home.
It sounds like your baby had a lot going on. I was mostly speaking for the feeding issue.