Im really sorry that your hen died. As said, sometimes it just happens suddenly. There are a several diseases that can cause sudden death, such as lymphoid leukosis, fatty liver hemorrhagic disease, fowl cholera, none of which are very common.
Some other possible causes are...