Praise be to Allah.
I presented this question to Shaykh Abdul Rahman al-Barrak (may Allah preserve him), and he responded:
They may leave his matter to Allah, and there is no harm on the parents to leave off any further treatment which may prolong his life. However, they should use that which lessens the pain for him, if possible.
And Allah knows best.