Each person recovers differently after a kneecap (patella) dislocation
It depends on how much damage was done the knee at the time of dislocation. It can take anywhere from 1 week to 12 weeks to resume function enough to play baseball. Typically any damage manifests as swelling inside the knee. Swelling inhibits the quad muscles. After the swelling goes down, the quads have to return to function.