The first paragraph doesn't make much sense, but...
You should have enough room to slide the wheel forward, remove the chain and rest it on the exterior of the seat stays and slide the wheel off. You could also patch the tube by removing the tire while the wheel is still mounted, patch the tube and put it back together. The later choice is much more bada$$.