Baker's case was called in his absence and he was remanded in the custody of Middlemore Hospital's Corrections Department for one week.
Rai, whose hand was heavily bandaged when he appeared before Judge Jane Lovell-Smith this morning, was remanded in custody until later this month while he receives legal advice.
Police said two partially disguised men entered the Pukekohe Westpac about noon on September 2, threatening staff with a hammer.
As they fled with cash, it is understood another driver tried to cut off a BMW while other members of the public tried to jump on the getaway vehicle.
Police spotted the car in central Drury, 15km away, and followed it twice around the roundabout at the intersection of Norrie Rd and Great South Rd.
Superintendent John Tims said the BMW then sped back towards the motorway, entering the north-bound lane at Drury before hitting a Ford ute near Papakura and rolling across the motorway.