the magic-operated pumps had managed to keep it afloat , but they were slowly losing the battle , and now the elegant vessel careened , serving as a warning to anyone else contemplating a quick escape .