If you would be in this situation, what would you do?

You are in a ship. Ship is going to go down and you only knew it. And you know how to rescue the ship BUT after you do that, you are going to be very very very very very very very trivialized, I don't know if I use the right word for in English. But you are gonna be casted aside, like you are nothing or like you are noone that you are no important with anyway or anytime. What would you do? After you do that at least you must be in a good position, like job or smth. I think... What would you do? By the way If the ship goes down you are gonna die either after that. What would you do?

This hypothetical question is important for me so I am gonna be appericiate If you answer. So ı am waiting for your answer. Thanks already!
If you would be in this situation, what would you do?
Post Opinion