Thanks, The model is AIO 510-23ISH.
And yes, I made sure the cooler is connected exactly as it was before (took a pic before disassembling it) and fully seated.
I disassembled my PC (pre-build Lenovo AIO) for cleaning. When I put it all back, the fan was no longer detectable in any software I tried (Lenovo Diagnostics Tool, SpeedFan, HWMonitor, MSI Afterburner).
In the BIOS the fan status is reported as "operating", and it does seem to be working fine...