From here, the best idea is to backtrack along the main road towards Funchal, either heading inland to Pa??l da Serra or heading a bit farther east on your way toward Serra de ??gua and Sao Vicente.
Backtracking towards Funchal is not a smart choice, there are lot of dangerous animals on the way.