If your application is refused, you'll need to stop working and leave the host country once your current permit expires.