Is the word "rest" used in the same way 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.
the same meaning