ETA: 1.12.3
A new -e flag has been added to influxd-ctl show-shards. By default, expired shards are filtered out of the output. When -e is passed, expired shards are included in the display.
Example: influxd-ctl show-shards -e
InfluxDB Enterprise 1.12.3+