The danger receptor is called nociceptor; this signals the brain to pull the injured part away from danger. Signal travels to the posterior or dorsal horn of spinal cord.
According to the law of conservation of energy, energy cannot be created or destroyed, although it can be changed from one form to another. KE + PE = constant.