A military licensee shall not be entitled to the privileges of this article if he receives a dishonorable discharge from the military service of the United States or if he voluntarily remains in the military service for more than seven years from the date of notification to the commissioner as provided by subdivision (a) of Section 10460.