If the family wants him there he has an obligation to attend.If,by chance,the family wants a private,low keyed funeral then yes,it could be argued that he shouldn't attend.But it's hard for me to imagine his family wanting,or hoping,Shatner not to attend.
I wonder if the family wants Shatner to sing “Lucy In the Sky With Diamonds” at the funeral?