A suspect on trial for attempted murder fled the courthouse, leading police on a short chase which landed him back in custody.