This is the 14684th most frequent Russian word.
перестает
"Stops" or "ceases."
In this sentence, “перестает” is used to indicate that the action of working stops happening after a specific time.
Он перестает работать после восьми часов вечер.
He stops working after eight o'clock in the evening.
Here, “перестает” refers to the cessation of an ongoing event, namely the rain.
Если дождь не перестает, мы останемся дома.
If the rain doesn't stop, we will stay home.
In this example, “перестают” describes the halting of trains occurring as a scheduled event.