We report on the interplay between ferromagnetism and superconductivity in trilayers La0.7Ca0.3MnO3/YBa2Cu3O7/La0.7Ca0.3MnO3 made of half metallic manganite and high temperature superconductor cuprate. Samples with a fully oxygenated cuprate show a magnetic field interval where the magnetizations of the manganite are aligned antiparallel. A considerable magnetoresistance accompanies the switching between magnetization configurations (parallel vs. antiparallel) of the manganite moments. Suppression of the free carrier density of the cuprate which occurs upon oxygen depletion, results in deep modifications in the shape of the normal state hysteresis loops indicating that there may be a magnetic coupling mediated by free carrier density of the cuprate. This result outlines the importance of quasiparticle transmission in the interplay between ferromagnetism and superconductivity in this kind of samples.