Cats don’t fast too well. They develop fatty liver syndrome that is hard to treat in the advanced stages. I have to question that Jack was not a very sociable cat for him to have hidden for so long. Had he been more gregarious he may have survived.
He was probably very frightened and went to hide