I know this seems like an uneducated question but...

If a guy just barely put the tip of his penis in my vagina and then pulled it out because I said "no", is that still sex? Thanks in advance.