There are many metaphors in section 27. The narrator says, for example, "I envy not in any moods
The captive void of noble rage,
The linnet born within the cage"
Other metaphors follow, and they all add up to a single set of linked metaphor about captivity. To be specific, the narrator is drawing a connection between innocent things that should be wild that are made captive and himself.