You cannot legally “die” on a plane because the flight crew cannot declare a person dead. You’re just moved to an empty row until the plane can land.

Fact source