Sentence:  Whoever it was had meant to <WSD>shut</WSD> him up in here , had followed him and waited till the courthouse and square were deserted . 
Meaning of the word marked with <WSD> tags:  place in a place where something cannot be removed or someone cannot escape