Go, shut thyself within thy heroin, etc. The command implied that he was to cease for a time from all public ministrations. There was a time to keep silence, as well as a time to speak (Ecclesiastes 3:7), and for the immediate future silence was the more effective of the two.
It would, at least, make them eager to hear what the silence meant.