Antonio Joaquim Sousa Mira, Portugal