A flare-like event from the short-period system XY UMa