If I take break for a semester in summer how much time will o have to stay in india?

If I take break for a semester in summer how much time will o have to stay in india? and if i take break at the end of the semester do i have to go to my home country within 15 days? also will I have only 5 months after leaving this country? please reply fast.