Even if not, there are generally laws against impersonating a military officer, and it could be argued that Cap would be doing that by wearing his distinctive uniform after leaving the service, especially if he formally and effectively resigned his commission.