As far as I understand (My uncle works in MOI Pataka section) ban is different from cancellation.

First cancellation is: when you resigned or your contract was finished and you haven't acquire an NOC from you previous sponsor you have the automatic 2 years cancellation in Qatar,BUT tke note you can enter here in any type of visit visa (business, tourist, family visit) but YOU are not entitled for RESIDENCY for the period of 2 years, that is the rule now.

Second BAN is: you can not be able to enter QATAR in anyways means you are forced out in Qatar.

BAN for FIVE years is not yet approved, it is still on process as per the ad in gulf times.

I hope this answers.