A special court here has directed poet-activist P Varavara Rao, an accused in the Elgar Parishad-Maoist links case who was recently granted bail on medical ground by the Supreme Court, to reside in Mumbai and not to leave the city without its permission.