Question: Here is one sentence: He threw away the rest.
Here is another sentence: The boulder came to rest just behind the house after rolling down the mountain.
Does the rest mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: Now that we're all in agreement, we can put that issue to rest.
Here is another sentence: The boulder came to rest just behind the house after rolling down the mountain.
Does the rest mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: An advance in health or knowledge.
Here is another sentence: She rejected his advances.
Does the advance mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: Moral bankruptcy.
Here is another sentence: Intellectual bankruptcy.
Does the bankruptcy mean the same thing in the two sentences?

Answer:
the same meaning