Hello macbahi,
When the controller goes to BusOff it tries to reset itself a number of times (5 times is default).
This number can be set in the Unit_Config block in the application template. You can also add a manual reset signal, in addition to the existing one. Read the API before before doing this.
If you don't have a manual reset signal you need to restart the unit.
Have a nice day.