Your turn ends when you attack. Versatile lets you use attacks of other Pokemon. It's not an Ability that you use once to copy an attack, really; it's always on and gives you access to other things.
If you copy another Pokemon's attack and use it via Versatile, your turn ends because you attacked - not because you "used" Versatile.