Shelling and gunfire resumed Sunday in the Sudanese capital, witnesses said, at the end of a 24-hour ceasefire that had given civilians rare respite from nearly two months of war.