In your case, F visa is affected, but H visa can continue because H visa has dual implications: immigration and non-immigration.