“Spanish American”

“Spanish colonial society was further amplified by the intermixture of Pueblo Indians and genizaros, the enslaved Apaches and Navajo who often gained their freedom and intermarried with non-Indians”.

I found this quote interesting, as it is the first time I have encountered the term genizaros, but also that someone was going from the status of enslavement to then marrying a non-endian member of Spanish colonial society.

My limited familiarity of the terms of race based slavery being for a term of live or until sold, I am curious as to how native engaged in this form of slavery. How were slaves released from this situation?