SYDNEY—Novak Djokovic was deported from Australia just after a courtroom upheld a determination to terminate his visa, ending the tennis star’s bid to protect his Australian Open up title as an unvaccinated player in spite of the country’s challenging Covid-19 vaccine specifications.

The Federal Courtroom of Australia on Sunday dominated Immigration Minister Alex Hawke acted lawfully when he canceled Djokovic’s visa two days before, citing public desire.