Khalwat is the means for training the ego. If his ego is not under control then a person cannot guide others or enforce Shari’ah because his ego will take over and no one will listen. Khalwat must be performed with the permission and help of a Sheikh of training (tarbiya).