You can disconnect your WordPress session using the “Logout” option (upper right edge on the WP admin screen). This will close your admin session.
If by mistake you saved your WP password on the browser and you can’t delete it, the best thing you can do is changing your password on wordpress, making the saved password useless.
Nevertheless, this is definitively an user error, not a wordpress error.