Could you not go to the ceremony but turn up as it starts and leave straight.
Regardless of circumstances I couldn’t imagine missing a parents funeral.
Had similar situation in family this year where one is the ‘children’ hadn’t seen a parent properly since a divorce 30 years prior...