Short-term starvation inhibits CD36 N-glycosylation and downregulates USP7 UFMylation to alleviate RBPJ-maintained T cell exhaustion in liver cancer. Here, USP7 is linked to liver cancer.