If it is a really big coon ... It's butt is not letting the door down far enough to catch the latch, then it just backs out ... Or, maybe a second one is trying to get in at the same time, and the door doesn't close all the way before they decide to leave ...
I have a Duke Dog-Proof trap on the...