What prevented the US from taking possession of cuba after the spanish american wat?

Nothing, the US did take possession of Cuba after the Spanish-American War.