Let's assume a utilitarian framework.
Imagine that you accidentally kill someone. Say, you drive into them with your car. For the purpose of this question, let us assume that their death is confirmed (obviously if they are not dead or you aren't sure, you ought to try and help them).
My question is, is it unethical to not stay, and thus escape a possible punishment? Has philosopher's discussed this question?
Say, you drive into them with your car
as a species of that. / Do you have a specific ethical framework in mind?