The Apollo command module orbit was approximately ~110 kilometers (~60 nautical miles) from the surface. The initial TLI leaves it with a highly elliptical orbit but this is corrected before the LM descent.
At the furthest point in its orbit, the command module was probably about the diameter of the moon (plus a bit) away from the guys on the surface, so ~2000 miles.