Umar ibn al-Khattab, may Allah be pleased with him, reported that the Messenger of Allah ﷺ sought refuge from cowardice, miserliness, the harms of old age, trials of the breast and punishment of the grave. (Sunan al-Nasa'i, Book of Seeking Refuge)
اللَّهُمَّ إِنِّي أَعُوذُ بِكَ ... وَعَذَابِ الْقَبْرِ
O Allah, I seek refuge in You ... and from the punishment of the grave.
Mentioning grave punishment alongside these other dangers shows that protection from it, too, is sought from Allah alone.