Unfortunately, the details are very relevant. By choosing death, Socrates was making a point. Actually, he (supposedly) actively sought a death sentence during his trial while pretending not doing so.
On the other hand, the death of Galileo would have served no purpose.