A castle has the following functions:

Dismiss outsiders.
Open and close the castle gate.
Manage the siege functions.
Manage additional functions.
Return.