If you are getting stuck and cannot log out of instagram, here is the way to do so.
- Go to https://www.instagram.com
- Open Developer Tools.
Ctrl + Shift + J (on Windows) or Cmd + Option + J (on Mac).
3. Press the arrow “>>” on the right side of network tab & select Application from Drop Down. Or If you can find Application directly, just click on the Application Tab.
4. Select Cookies in the Storage Section on the left as shown.
5. Select your Instagram Cookie & Right Click on it and press clear.
6. Now Reload. You would be logged out of Instagram.