Is the word "stay" used in the same way in the following two sentences?

Stay alone.

I can only stay for an hour.
the same meaning