If we have a cylinder with a smaller height than diameter, the height is our constricting measurement. This means that our sphere's max diameter is 12 inches.
Solving for the volume of a sphere with diameter of 12 inches: 4/3 * pi * r^3 4/3 * 3.14 * 6^3 volume = 904.32 cubic inches