It could have contributed to the end of the Middle Ages, but it was not a major factor. The Peasants Revolt was organised having several leaders. Without those leaders the peasants could not continue to fight for what they want. This is evident when their leaders were hung. After they were hung, the peasants were disorganised and fell back into their old way of living under the control of a lord (Peasants Revolt - History Learning Site). Therefore, the Peasants Revolt could not have ended the Middle Ages.
In conclusion, the Black Death started a whole series of incidents that led to the end of the Dark Ages. However, the Peasants Revolt did not contribute to the end of the Dark Ages due to its disorganisation and lack of confidence. The Black Death, among other events, led to the establishment of modern thinking and innovations that is familiar all around the