Using Monte Carlo simulation in NVT ensemble, the behavior of hard ellipses confined in a square with hard walls, is analyzed here. Three different aspect ratios are used for confined ellipses. It is seen that confining can create especial configurations, e.g., elastic and bridge arrangements, or some defects in nematic phases. This phenomenon depends on the aspect ratio of ellipses, length of the square side, packing fraction of the system, and the kind of particle wall interaction (planar or homeotropic). The obtained results are compared with previous theoretical and experimental data and show a good agreement. The observed differences are always small and reasonable according to the components of the systems.