Question: "hold" used in the same way in the following two sentences?

She can hold an audience spellbound.

The soprano held the audience.
Answer: the same meaning
Question: "section" used in the same way in the following two sentences?

There are three synagogues in the Jewish section.

She got a job in the historical section of the Treasury.
Answer: different meanings
Question: "undo" used in the same way in the following two sentences?

I wish I could undo my actions.

Fortunately, we can undo most of the damage to the system by the war.
Answer: the same meaning
Question: "glass" used in the same way in the following two sentences?

We looked through the glass to see stars.

Would you like a glass of milk?
Answer:
different meanings