We have had a few cats. But we just left the door open for them for to and fro. If we went out, we just shut the door and they had to wait outside and entertain themselves. Just, you know, be cats. They'd often sidle off for a couple of weeks themselves, esp. if people were leaving food out for them and thought they were strays.
For a while I thought house cat meant a particular breed, until I realized it just meant a cat that doesn't go out.
I do know that despite their vaunted agility and confidence, they do fall out of the windows of tall buildings more than is likely reported.