If the individual(s) responsible for the funeral are unable to pay for it, even with external assistance, they can sign the body over to the coroner's office.