The wisest thing would be to proactively go to immigration before your visa expires and explain your predicament; you'll probably get an extension of a few days on the spot. Talking your way out of it after it's already expired may be more difficult, especially if Korea's attitude to overstaying is anything like Japan's...