If $i:A\to(X,\tau)$ is injective, then we can equip $A$ with the initial topology for $i$, that is the family $\{i^{-1}(U)\mid U\in\tau\}$. This is the coarsest topology making $i$ continuous, and a function $f$ from a space to $A$ is continuous iff $i\circ f$ is continuous. I particular, if $A\subset X$, and $i(a)=a$, then this gives the usual subspace topology $\{U\cap A\mid U\in\tau\}$. A map $f:Y\to X$ such that $f(Y)\subseteq A$ is now continuous iff its restriction $f':Y\to A$ is continuous, as $f=i\circ f'$.
A left inverse is also called a retraction, a right inverse is also called a section.
Note that if $i:A\to X$ is an embedding, and $r:X\to A$ is a retraction, then $A\cong i(A)\subseteq X$ and $ir:X\to X$ sends every point in $X$ to a point in $i(A)$ and is constant on $i(A)$. So the categorical retractions are equivalent to the retractions as they are usually introduced in topology.
An example of an embedding without a retraction is $\{0\}\times I\cup X\times\{0\}\subset X\times I$, where $X=\{0,1/n\mid n\in\Bbb N\}$.
A quotient map without a section could be the quotient map
$$q:I\to\{[0,1/2],(1/2,1]\},\qquad q(x)=A\iff x\in A$$
On the other hand, every section is an embedding and every retraction is a quotient map.
Idea Part: Ok, hmm, so thats a wrong direction... another idea?
– C-star-W-star Mar 22 '14 at 15:42