Then there would just be a personal foul and the team that got fouled would keep possession.
Chat with our AI personalities
It is called a shooting foul when a defender contacts a player in the act of shooting.
You are allowed to block someones shot while making contact with the other players hand as long as you hit the ball first. This would be determind a blocked shot and no shooting foul.