No, taking a condom off during sex and not re entering either the vagina or anus without a condom will not lead to HIV. HIV is inactivated by air. This is not a risk in any way.
The only risks for adults for HIV is unprotected vaginal or anal sex or sharing of IV drug needles.
If you did not involve yourself in penetrative sex again, after pulling off the condom, your risk never existed.