From an older form rimaso, from Latin remansus.
rimasto (feminine rimasta, masculine plural rimasti, feminine plural rimaste)