The criminal law of our country stipulates: discontinuance of a crime is an automatic abandonment of the crime or an automatic and effective prevention of its consequences in the criminal activity.
According to the above definition, which of the following is the discontinuance of a crime?
When a robs B in the street, passersby stop him and turn him over to the Public Security Bureau.