What happens if a student fails all mandatory units?

Hi,

What happens if a student fails a mandatory unit and has no more tries left. Are they able to enrol again, how does it work?