Upvote:3
As long as you leave voluntarily, and are there legally when you do leave, that is not a deportation.
Your request for an extension was refused and counts as a refusal, but it does not count as a deportation.
Upvote:7
If you are in Sweden when your application is denied, you must leave the country within the period of time stated in the decision. You can choose to accept or appeal against the decision. If you appeal against it, you may stay in Sweden while your case is being reviewed in court. You are responsible for arranging to leave by the due date.
The decision tells you how much time you have to leave Sweden. If you have received a decision on refusal of entry that is to be enforced immediately, you must leave Sweden as soon as you have received the decision. Even if you choose to appeal against the decision, you must still leave Sweden.
If you do not leave by the deadline that is written in the decision, the Swedish Migration Agency will make a decision to issue a re-entry ban. You may also receive a detention decision, meaning you must stay at a residence that is under lock and key while awaiting your departure. If the Swedish Migration Agency believes you will not leave Sweden voluntarily, the responsibility will be assumed by the Police, who have the right to execute the expulsion by force (deportation).
Source: https://www.migrationsverket.se/English/Private-individuals/Leaving-Sweden/Rejection-of-residence-permit-application.html and https://www.migrationsverket.se/English/Private-individuals/Visiting-Sweden/Visit-Sweden-for-more-than-90-days.html