ControlLogix and CompactLogix from the L7x platform onward, including your 1769-L36xx, have an onboard capacitor and onboard nonvolatile memory. That nonvolatile memory is separate from the removable SD card.
When the controller powers down, the capacitor runs it for a few seconds and the OS saves the user program and all the active variables to NVRAM. That's what the controller boots from most of the time.
Every ControlLogix/CompactLogix equipped with removable memory checks that device at boot-up for instructions on whether to load from removable memory, or to default to loading from nonvolatile memory. If the nonvolatile memory and the SD card were both corrupted, you would get a solid red indicator for the SD card and an "empty" controller running only the Logix OS, where the user program has been cleared because it failed a checksum at boot.
Your post says you "had a leak which got on the CompactLogix", which suggests that it suffered physical or electrical damage. Take everything out, spend some time rinsing and swabbing with isopropyl alcohol, and try reassembling and restarting once it has dried.