For events, you gotta kill all the enemies the event spawned (but no new enemies should be spawning). You'll still get the background music, etc, even if there's only one single goblin/martian/whatever that's hidden in some unlit cave or something. Easiest way to deal with this is to Save&Exit and go back in (don't leave anything on the ground obviously).