And that is about the extent of my knowledge of Swiss history.
The safest place in the castle is the keep. The little door is the only way in. Once you climbed up the ladder into the keep, you would pull the ladder up after you so no one else could get in.
The castle is built right into the rocks.