The term emergency risk avoidance refers to an act that may not be taken to damage the legitimate rights and interests of another party in order to protect the state, public interests, personal, property and other rights of oneself or others from ongoing danger.
The statement 'On his way to work, Wang rescued a raped girl and was counterattacked by the gangster. Wang punched the gangster on the head, causing him to die on the spot' belongs to emergency risk avoidance.