Out the front
When the shoulder dislocates, the humeral head (ball) "leaves" the glenoid (cup).
The vast majority of times, the ball goes forward and rest in the soft tissues of the chest. In certain instances, the ball can go backwards. In very rare instances, usually after a high-energy injury, the ball can go straight down, into the armpit.