In Hartshorne 5.2.4, we have
If $Y$ is a closed subscheme of a scheme $X$, then the sheaf $\mathcal{O}_{X|Y}$ is not in general quasi-coherent in $Y$.
I'm having a hard time believing this, mainly because I can't think of any examples. Would any affine $X$ make an example? Say we have the closed subscheme $Y = \text{Spec } A/\mathfrak{a}$ embedded in $X = \text{Spec } A$.
Thanks!