mew up

Advanced (C1) formal

To keep someone or something locked up in a small place.

"The elderly count had been mewed up in that tower for the better part of a decade."