I'm sorry for your loss:hugs
Without a necropsy there is now way to know what he died from. If you lose another one, utilize your state lab system so you can get some answers.
When a bird dies, there is residual muscle and nerve reflexes which cause them to flop, twist, twitch, flap and the...