Stabilizing leaky RyR2 channels using a small-molecule Rycal drug S107 prevented cognitive impairment induced by HF. This evidence concerns the gene RYR2 and hydrops fetalis.