A stack is a gathered heap or shock of cut grain. It refers to grain arranged together after being harvested rather than left standing in the field.
In Exodus 22:6, the King James Version uses “stack” for grain, while the Revised Version uses “shocks.” The context concerns grain that has been cut and gathered.
The translation difference reflects the distinction between a stack and a shock, both referring to gathered grain.