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

We stayed in Hawaii for a week.

The smell stayed in the room.
Answer: different meanings
Question: "stay" used in the same way in the following two sentences?

I can only stay for an hour.

After the trial period, she was asked to stay on and work full-time.
Answer: different meanings
Question: "shelve" used in the same way in the following two sentences?

Shelve books.

The library needs volunteers to help shelve books.
Answer: the same meaning
Question: "execute" used in the same way in the following two sentences?

I'll execute your orders as soon as this meeting is adjourned.

Execute the decision of the people.
Answer:
the same meaning