Jocasta realizes what Oedipus has done and the fact that she married her son when the shepherd said how Oedipus's feet were tired together just like she did to her son. She told Oedipus to stop trying to find the truth immediately and ran away home.
the Shepard explains to Oedipus how he fulfilled the prophecy and was the murderer of Oedipus, married his mother, and was the cause of the plaque on the town
"I stand revealed- born in shame, married in shame, an unnatural murderer" (69).
"And there we saw [Oedipus], hanging, [his] neck caught in a swinging noose of a rope" (72).
"[she] ripped out the golden pins... raised them high above [her] head, and speared the pupils of [her] eyes" (73).
when the messenger announced that Oedipus had died by his own hand, by hanging himself, the people of Thebes were not even that upset. They felt that he deserved to die for how much pain and hurt he caused on their town. When the news about Jocasta was announced, everyone was so upset but relived that she will live.