Originally asked on MSE.
Let $X$ be a normal (or even metrizable) topological space and let $Y$ be a closed subset of $X$. Let $C(X)$ be the linear space of all continuous scalar functions on $X$ endowed with the compact-open topology. Consider a map $R:C(X)\to C(Y)$ defined by $Rf=f|_Y$. This map is obviously linear, and it is easy to see that it is continuous. By Tietze theorem it is also surjective. It seems that this is in fact a quotient map. However, what interests me is the following question:
Let $B$ be a closed convex balanced subset of $C(X)$. Is $RB$ closed in $C(Y)$?
Under additional assumption that $B$ is weakly compact, this is true, since then $B$ is compact in the pointwise topology, and so $RB$ is pointwise compact, and so pointwise closed, and so closed in $C(Y)$. I can also show that this is wrong if we don't require $Y$ to be closed in $X$.