This is the Torah: when a man dies in a tent, all who come into the tent and all that is in the tent shall be unclean seven days.
Torah Temimah: Shabbos 83b — Rabbi Yonasan said: A person should never refrain from words of Torah even at the hour of death, as it is said “This is the Torah: a man who dies in a tent” — even at the hour of death one should be engaged in Torah.
English: Rabbi Yonasan said: A person should never refrain from words of Torah even at the hour of death, as it is said “This is the Torah: a man who dies in a tent” — even at the hour of death one should be engaged in Torah.
Homiletic derivation urging continuous Torah study.
One should remain engaged in Torah study even in the final moments of life.