Section 340: Wrongful confinement.-- 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.
1. A causes Z to go within a walled space, and locks Z. Z is thus prevented from proceeding in any direction beyond the circumscribing line of wall. A wrongfully confines z.
2.A places men with firearms at the outlets of a building, and tells Z that they will fire at Z if Z attempts leave the building. A wrongfully confines Z.