You can be given notice to leave, or depending on willfulness, sacked immediately. Likely to affect a job reference.