The defense of prevention of a crime involves demonstrating that your actions were aimed at preventing significant harm. For instance, stealing a car to transport a gunshot victim to the hospital, preventing further harm, could be an example of this defense.