Fired prisons boss reeling in shock