On my flight we were requested to stay aboard until the remains were loaded on
the hearse. But it wasn't required. They acknowledged some people had connecting flights. Many people left in a hurry when it was over, but everyone stayed and kept seated.