not sure why you felt you had to close the game completely.

you just go to character select, wait 5 minutes, grab a beverage or snack, and log back in.

you DIDNT log out properly and for a period of time, you will be sitting in the world with a pokeball over your head until the logout completes. when it completes, you can log back in no problem, aside from the current queues