he was alarmed by this account and passed several hours in looking for her , when the gates of geneva were shut , and he was forced to remain several hours of the night in a barn belonging to a cottage , being unwilling to call up the inhabitants , to whom he was well known .