339. Whoever voluntarily obstructs any person, so as to prevent that person from proceeding in any direction in which that person has a right to proceed, is said wrongfully to restrain that person.
(a) A obstructs a path along which Z has a right to pass, A not believing in good faith that he has a right to stop the path. Z is thereby prevented from passing. A wrongfully restrains Z.
340. Whoever wrongfully restrains any person in such a manner as to prevent that person from proceeding beyond certain circumscribing limits, is said “wrongfully to confine” that person.
(a) A causes Z to go within a walled space, and locks Z in. Z is thus prevented from proceeding in any direction beyond the circumscribing line of wall. A wrongfully confines Z.
(b) A places men with firearms at the outlets of a building and tells Z that they will fire at Z if Z attempts to leave the building. A wrongfully confines Z.
341. Whoever wrongfully restrains any person shall be punished with imprisonment for a term which may extend to one month, or with fine which may extend to $1,500, or with both.
342. Whoever wrongfully confines any person shall be punished with imprisonment for a term which may extend to 3 years, or with fine, or with both.