Quarantine does that without the possibility of princess getting bored and wandering in the city like that idiot doctor did.
But, again, it is not necessary. And that idiot doctor left his house after symptoms began. That wasn’t a failure of the protocols - that was a failure of the idiot doctor to follow the protocols.