In your first picture i see a stopcock, the pipe it feeds fills your cistern, but it also goes vertically on from there, so turning it off will have an effect on whatever is at the end.
Turn it off, flush the toilet to empty the cistern and then use old towels to soak up the rest.