This question has options. Is the word "rest" used in the same way in the following two sentences?

The boulder came to rest just behind the house after rolling down the mountain.

A body will continue in a state of rest until acted upon.

OPT: * different meanings * the same meaning
the same meaning