Existence of generalized solutions of contact problems for a nonlinear shallow shell with a rigid obstacle is demonstrated. A mathematical model accounting for the presence of an obstacle is proposed. The solution is a minimizer of the total energy functional on the set of admissible displacements. The problem reduces to the solution of a variational inequality in a cone of the energy space.