Retain is an educational euphemism for failure to advance to the next grade, to hold back.
NYCivic Homepage