Extinction of avoidance behavior by safety learning depends on endocannabinoid signaling in the hippocampus.