Sorry to hear, but good that you can be there for him.
I wasn't able to be there physically when my brother finally passed. Not cancer, but basically all systems failure. Had to make the call to shut the machines down by phone. The fact that he was not coming back again does not make it feel any better. But at some point you have to let them move on, so you can too.