It could have been a cardiomyopathy, the heart just gives up and death is instantaneous. It is apparently not that uncommon. I friend of mine had a cat who died in the forest, not a mark on him, as if he were sleeping. This was her vet's theory anyway.
The green bile could be incidental.
How shocking for you, but it doesn't sound as if he suffered.
Jazz really sorry