I am not sure what you are calling the "spouse visa." You can always leave but you may want to check with an immigration attorney if you are interested in coming back to advise you on your rights especially if you have overstayed your visa. If you're I-94 card still has time left you may leave and surrender it at the border and should be fine to return in any other category for which you are eligible.
Consumers can use this platform to pose legal questions to real lawyers and receive free insights.
Participating legal professionals get the opportunity to speak directly with people who may need their services, as well as enhance their standing in the Lawyers.com community.