Spiral waves in excitable biological media are associated with pathological situations. In the heart an action potential vortex pinned by an obstacle has to be removed through defibrillation protocols fine-tuned theoretically by using electrophysiological nonlinear mathematical models. Cardiac tissue, however, is an electroelastic medium whose electrical properties are strongly affected by large deformations. In this paper we specifically investigate the electroelastic pinning-unpinning mechanism in order to include cardiac contraction in the preexisting theoretically modeled defibrillation scenarios. Based on a two-dimensional minimal electromechanical model, we show numerically the existence of an unpinning band characterized by the size of the obstacle, the pacing site, and the frequency. Similar numerical simulations, performed in the absence of elastic coupling, show small differences in comparison with the electroelastic studies, suggesting for this specific scenario of pinning-unpinning dynamics a nonprominent role of elasticity.