He had been working continuously on his philosophy until two weeks before, when he suddenly fell terminally ill