Seclusion - as it is known in mental health terms. Usually the last resort.