Q: Does "rest" have the same meaning in the following two sentences?

Now that we're all in agreement, we can put that issue to rest.

The ocean was finally at rest.

A: the same meaning

Q: Does "pull" have the same meaning in the following two sentences?

The spaceship came under the pull of the gas giant.

The pull of the moon.

A: the same meaning

Q: Does "take" have the same meaning in the following two sentences?

Do you take me for a fool?

Looking at him as he came into the room, I took him for his father.

A:
the same meaning