Wrongful restraint and wrongful confinement are offfence against the human body.
[Section 339 of the IPC defines the offence of wrongful restraint.]
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 is in the habit of walking in a nearby public park every morning. B, his neighbor, prevents him in going to that park one day, without any reason. B is guilty of wrongful restraint.
Punishment for wrongful restraint:
Whoever wrongfully restrains any person, shall be punished with simple imprisonment for term which may extend to one month, or with fine which may and to five hundred rupees or with both.
The obstructions of a private way over land or water which a person in good faith believes himself to have a lawful right to obstruct is not an offence within the meaning of this section.
A obstructs a path along which Z has a right to pass. A no having in good faith that he has a right to stop the path, Z, is thereby prevented from passing A wrongfully restrains Z.
Scroll down or more information_
[Section 340 of the IPC defines the offence of wrongful confinement.]
Whoever wrongfully restrains an I1Ton 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 man with firearms at me outlets or a building and tells Z that they will fire at Z if Z attempts to leave the building. A wrongfully confines Z.
Punishment for wrongful confinement:
Whoever wrongfully Confines any person, shall be punished with imprisonment of either description for a term which may extend to one year, or with fine which may extend to one thousand rupees or with both.