||However, if the ox was known to be in the habit of goring on previous occasions, and its owner did not take precautions, then he must pay the full value of [the dead] ox. The dead animal remains the property of [its owner].
O noda ki shor nagach hu mitmol shilshom velo yishmerenu be'alav shalem yeshalem shor tachat hashor vehamet yihyeh-lo.
(Bava Kama 10b; Mekhilta). In both these cases, the value of the dead carcass is therefore deducted from the amount of compensation that must be paid.