Every employee should note that leave is a privilege and not an entitlement. From the organization's side, they should communicate this to all employees through standing orders or the employee handbook.
For whatever emergency you had, you could have spoken to the authorities concerned and obtained approval for your leave. Unplanned absence, or rather unauthorized absence of an employee, throws the operations of the company out of gear. How to handle this situation? Moreover, for a person of the stature of a manager, hardly is this expected.
Nevertheless, your company should have conducted a domestic inquiry before your removal. It appears that they did not even give you a show-cause notice. This is bad as per the law. But then the IT/ITES sector is better known for giving a cold shoulder to labor laws. Therefore, talking on this point is meaningless.
From the organization's side, I interpret their action from two angles. One is that they wanted to remove you anyway. Your unplanned (practically unauthorized) absence was an excellent opportunity for them, and they wielded the authority to hit you below the belt.
The second interpretation could be to send a signal to one and all. For any kind of indiscipline, the authority will come down heavily. Next time, other employees will think twice before committing an act of indiscipline.
You have not written about your job. How many months or years did you work there, how were your relations with superior authority, what type of psyche did your top boss have, etc.? Many things depend on that also. Secondly, removal from the job for unauthorized absence, is this the norm in your company, or have you been singled out? What is the level of your performance? Were you an excellent performer?
I recommend you obtain an interview with the highest authority like the VP, GM, etc., and ask for an apology. This is a better method of getting reinstated. If this happens, well and good, but then you will have less say in the organization's matters. Reinstatement comes with clipped wings as well. Therefore, you need to be doubly cautious to avoid any kind of effrontery.
All the best!
Regards,
Dinesh V Divekar