Most of Derinkuyu's entrances are hidden, and each of the five levels can be closed off separately with huge stone doors. The room for livestock and food stores, as well as a 55-meter shaft used as a well, means the inhabitants planned to be able to stay there for a long time. There were even arsenals and escape passages in case things became desperate.