D has the necessary intent for battery. D shoots at P, intending to miss P, but also intending to make P think that P would be hit. Since D has intended to put P in imminent apprehension of a harmful bodily contact, this is assault, whether D intends to in fact hit P or not. Alternatively, D intends to in fact cause a harmful or offensive bodily contact. D hopes P won't see him, but P does.
P is frightened, but the shot misses.
D as a practical joke points a toy pistol at P, hoping that P will falsely think that P is about to be shot. She may not recover for her apprehension that someone else will be so touched. D shoots and misses. False imprisonment is defined as the intentional infliction of a confinement . She does not, and D lets her go.