It depends on the board and its regulations under which you are studying. In general the best of 5 is considered to be the passing criteria. So you can get passed until and unless your board doesn't permit this. If the board don't permit then you have to sit for a re-exam of the 6th subject.
I hope my answer helps. All the very best for your future endeavors!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile