A short-lived humanitarian truce in Gaza's battered Shejaiya neighbourhood appeared to have collapsed Sunday as the Israeli army accused Hamas militants of violating it and said it had "responded accordingly".