Does the word "stop" have the same definition in the next two sentences?

Soon the rain will stop.

The riots stopped when police moved in.
the same meaning