Socrates had to of drank the posion hemlock to take his life instead of escaping and living. If he had of escaped all of his preaching and all of his points about living and dying and of life would have no worth. Socrates never minded death, he states "how can you fear something you don't know?" If death is unknown to us how can someone fear what they have no idea is what to come of them.
Socrates should not have drank the hemlock because in my opinion he would have been giving in to his accusers. Although in Hume's "On Suicide" he says that if you can accept death it is not a bad thing, I feel that socrates would be giving his accusers exactly what they wanted. He should stand up for what he is preaching and if he says that he is innocent of corrupting the youth, then he should prove why he is in fact, innocent. He knows that he is not wrong for what he did, therefore he should not take his own life. If his only options are killing himself or escaping, he should escape and continue on to somewhere else and share his wisdom.
Socrates was able to detach himself from his duties and not feel anything. If this were the case, then he should have stopped taking the criticism and moved on to a new place instead of drinking the hemlock. Socrates was a very wise man, so he should learn from what went on, and not repeat it so that he won't get charged when he moves. He does not feel pain and he does not fear death, but that is no reason to give in and drink the hemlock. He should fight for what he believes in and continue his wisdom. He is a smart man so people should learn from a man with his amount of knowledge.