That’s not a feature that’s available with the Cesium API. The shadow calculations are actually performed in the shader and color the pixels accordingly at runtime.
You could write some sort of plugin that writes the output to a texture, and then save this file. Or, more simply, get a screen grab of the shadows in Cesium at runtime from above.