Hi,
>> when I render the shadow reappears.
You are using AutoCAD 2016, am I right?
Because AutoCAD 2015 does the shadow handling correct, setting the object to "Receives shadows" or "Ignore shadows" (in property window, property "Shadow display" while the object is selected) does not show the shadows.
The settings "Casts and Receives shadows" as well as "Casts shadows" let the object create shadows.
I have added to your drawing 4 cylinders with the 4 shadow display settings (left cylinder first setting, second cylinder second shadow setting, ...)
And this is the result from AutoCAD 2015 (shadows as you like):

That screenshot is a render-result from AutoCAD 2016:

>> So I guess it's just a frustrating Autocad bug?
Seems so, create a support ticket and show them (Autodesk) this drawing and the bug, helpfully for them would be if you provide a link to this thread here.
For now, if you have a subscription, you can install up to 3 releases back, so if that is a daily need, go back to 2015 for your rendering projects.
At least this is something which has it's origin in "realistic rendering" as none-transparent materials in the real world do cast shadows 😉
- alfred -
------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ...
blog.ish-solutions.at ...
LinkedIn ...
CDay 2026------------------------------------------------------------------------------------
(not an Autodesk consultant)