One of the sons of Ahimelech, the son of Ahitub, named Abiathar, escaped, and fled after David.
So he actually crossed over in the area of the Dead Sea, went over to the other side to Moab and there he established his family. Now he knew that Saul's anger against him would ultimately turn against his family.