I found the following question on Lima's Fundamental groups and covering spaces:
Show that a proper subset of $S^1$ is a retract of $S^1$ if and only if it is a circular arc.
I see how a proper closed arc, i.e. the image of a proper closed interval $[a,b]\subsetneq [0,1]$ under the quotient map $f(t) = e^{2\pi i t}$, is a retract of the circle.
Is this what the question meant? Or it possible to show that something like $S_1\setminus \{(1,0)\}$ also a retract of the circle? Because I'm confused as to how it is possible to have a continuous function $r : f([0,1]) \to f((0,1))$ that fixes $f((0,1))$.
edit: To clarify the notation, by $S^1$ I mean the set $\{(x,y)\in \mathbb{R}^2\ :\ x^2 + y^2 = 1\}$ with the subspace topology. I also forgot to add the curly brackets on $S_1\setminus \{(1,0)\}$ before. By that meant the circle without its rightmost point.