Of course not.
What's this question? Some weird variation on the trolley-problem?
Would you commit suicide, if it meant, three innocent children would die?
Haha.
Autonomy is a very important virtue, but my autonomy is only completely granted, when I don't infringe on other people's autonomy.
If I kill myself, knowing, this is the end of everybody else on this planet, I will not do it, since I don't have a right to do it.
Pretty easy.
Now you may say, this is all made up and ethics (including consequentialism, and all of those moral theories...) are no objective truth, and I would agree.
But being objective in the ultimate sense or not, moral reflections are very relevant. We made all of these up, but that does not mean,they are meaningless. They are objective in the sense, that we are able to reflect on moral problems without being random and arbitrary, no matter if we made those moral systems up just to get along as long as we are alive.
Of course none of this matters, when we are dead. This would get into meta-ethics pretty quickly, if I were to continue here, haha, so let's just keep it the way it is now...
<3