incensed at the callous trap , and he was in no doubt that it had been exactly that , he was able to shake off the negative state of mind that had been progressively undermining his resolve like some unconscious quicksand .