Is stay used to mean the same thing in the next two sentences (see options)?

I can only stay for an hour.

After the trial period, she was asked to stay on and work full-time.

Select from the following.
(a). different meanings.
(b). the same meaning.
(a).